Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.963/0.963, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.589e-05, allocations: 2.312 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00336/0.003376, allocations: 3.289 MB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.004812, allocations: 1.256 MB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.00494, allocations: 12.47 kB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.005359, allocations: 128.7 kB / 0.8166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.005667, allocations: 248.3 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.005929, allocations: 202 kB / 0.817 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.006376, allocations: 0.6383 MB / 0.8176 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.006751, allocations: 339.2 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.007014, allocations: 352.7 kB / 0.8183 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.007334, allocations: 251.3 kB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.007376, allocations: 36 kB / 0.8185 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.007527, allocations: 105.2 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.00763, allocations: 163.5 kB / 0.8188 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.007738, allocations: 155.7 kB / 0.8189 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.008085, allocations: 406.6 kB / 0.8193 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.008087, allocations: 1.094 kB / 0.8193 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.008087, allocations: 0 / 0.8193 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.008092, allocations: 3.938 kB / 0.8193 GB, free: 9.957 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007234/0.008815, allocations: 0.7496 MB / 0.8201 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.008848, allocations: 8.031 kB / 0.8201 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.009392, allocations: 196.9 kB / 0.8203 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.009656, allocations: 271.4 kB / 0.8205 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.009677, allocations: 29.36 kB / 0.8206 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.009718, allocations: 36.38 kB / 0.8206 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.01009, allocations: 0.4993 MB / 0.8211 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.0101, allocations: 192 / 0.8211 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.01012, allocations: 16.36 kB / 0.8211 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.0103, allocations: 41.09 kB / 0.8211 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.01045, allocations: 130 kB / 0.8213 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.0117, allocations: 1.982 MB / 0.8232 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.01194, allocations: 178.9 kB / 0.8234 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.01199, allocations: 47.64 kB / 0.8234 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.012, allocations: 7.984 kB / 0.8234 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.01202, allocations: 43.77 kB / 0.8235 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.01202, allocations: 0 / 0.8235 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0009053/0.01293, allocations: 0.5924 MB / 0.824 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.01295, allocations: 56.38 kB / 0.8241 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01311, allocations: 312 kB / 0.8244 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.01313, allocations: 29.7 kB / 0.8244 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01323, allocations: 288.3 kB / 0.8247 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.01328, allocations: 83.31 kB / 0.8248 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.01334, allocations: 71.61 kB / 0.8248 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01346, allocations: 0.5118 MB / 0.8253 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.0135, allocations: 33.22 kB / 0.8254 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.0136, allocations: 161.6 kB / 0.8255 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.01376, allocations: 216.9 kB / 0.8257 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01376, allocations: 3.938 kB / 0.8257 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003202/0.01408, allocations: 314.4 kB / 0.826 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01409, allocations: 4 kB / 0.826 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.0141, allocations: 5.656 kB / 0.826 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.01437, allocations: 123.2 kB / 0.8262 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.0145, allocations: 67.91 kB / 0.8262 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.01656, allocations: 5.22 MB / 0.8313 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.01665, allocations: 12 kB / 0.8313 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01666, allocations: 8 kB / 0.8313 GB, free: 12.87 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.01676, allocations: 172.5 kB / 0.8315 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.0168, allocations: 43.75 kB / 0.8315 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.01683, allocations: 42.36 kB / 0.8316 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01683, allocations: 0 / 0.8316 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01683, allocations: 4 kB / 0.8316 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01683, allocations: 0 / 0.8316 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.01703, allocations: 213.1 kB / 0.8318 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01703, allocations: 0 / 0.8318 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.01712, allocations: 31.92 kB / 0.8318 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.01736, allocations: 118.9 kB / 0.8319 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.01737, allocations: 11.94 kB / 0.8319 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.01925, allocations: 5.227 MB / 0.8371 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01925, allocations: 0 / 0.8371 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.01957, allocations: 405.3 kB / 0.8374 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.01963, allocations: 35.84 kB / 0.8375 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.01965, allocations: 4 kB / 0.8375 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.01974, allocations: 20.11 kB / 0.8375 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.01977, allocations: 23.84 kB / 0.8375 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01978, allocations: 4 kB / 0.8375 GB, free: 6.117 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.751e-05/0.01987, allocations: 205.1 kB / 0.8377 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01987, allocations: 0 / 0.8377 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002757/0.02014, allocations: 100 kB / 0.8378 GB, free: 5.82 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.542e-05/0.02023, allocations: 103.2 kB / 0.8379 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.02064, allocations: 0.653 MB / 0.8385 GB, free: 5 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.02064, allocations: 0 / 0.8385 GB, free: 5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.02089, allocations: 0.5838 MB / 0.8391 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.02118, allocations: 72.66 kB / 0.8392 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.02204, allocations: 0.645 MB / 0.8398 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.02212, allocations: 140.4 kB / 0.84 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.629e-05/0.02221, allocations: 30.97 kB / 0.84 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.02234, allocations: 142.1 kB / 0.8401 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of SimCode: time 7.12e-07/0.02234, allocations: 0 / 0.8401 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of Templates: time 0.006648/0.02899, allocations: 4.687 MB / 0.8447 GB, free: 14.7 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.947327936068177]