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.001603/0.001603, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001462/0.001462, allocations: 164.7 kB / 24.87 MB, free: 8.891 MB / 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.904/1.904, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.373e-06/1.373e-06, allocations: 0 / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.338e-05, allocations: 3.094 kB / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003521/0.003544, allocations: 3.288 MB / 0.816 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.005137, allocations: 1.252 MB / 0.8172 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005282, allocations: 13.12 kB / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.005757, allocations: 139.1 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.006102, allocations: 238.8 kB / 0.8176 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.006405, allocations: 207.4 kB / 0.8178 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.006975, allocations: 0.6344 MB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.007393, allocations: 343.8 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.007665, allocations: 351.8 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.008017, allocations: 245 kB / 0.8193 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.008061, allocations: 36 kB / 0.8193 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.008227, allocations: 107.7 kB / 0.8194 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.008343, allocations: 171.5 kB / 0.8196 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.00846, allocations: 156.3 kB / 0.8197 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.008869, allocations: 402.5 kB / 0.8201 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.008874, allocations: 0.9688 kB / 0.8201 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.31e-07/0.008875, allocations: 0 / 0.8201 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.008881, allocations: 1.156 kB / 0.8201 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.000822/0.009703, allocations: 0.7439 MB / 0.8208 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.009738, allocations: 12.03 kB / 0.8208 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.01031, allocations: 197.7 kB / 0.821 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01061, allocations: 270.3 kB / 0.8213 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.01063, allocations: 21.38 kB / 0.8213 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.01068, allocations: 36.38 kB / 0.8213 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.01107, allocations: 0.5076 MB / 0.8218 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01108, allocations: 2.688 kB / 0.8218 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.01111, allocations: 16.38 kB / 0.8219 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.01115, allocations: 36.58 kB / 0.8219 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01131, allocations: 124.4 kB / 0.822 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.01267, allocations: 1.989 MB / 0.824 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.01297, allocations: 186.7 kB / 0.8241 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.01302, allocations: 43.66 kB / 0.8242 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.01303, allocations: 4.656 kB / 0.8242 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.01305, allocations: 41.08 kB / 0.8242 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.01305, allocations: 0 / 0.8242 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0009848/0.01404, allocations: 0.5935 MB / 0.8248 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.01406, allocations: 60.47 kB / 0.8249 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.01431, allocations: 316 kB / 0.8252 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01433, allocations: 33.7 kB / 0.8252 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01444, allocations: 275.8 kB / 0.8254 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.01449, allocations: 91.3 kB / 0.8255 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.01456, allocations: 67.62 kB / 0.8256 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01468, allocations: 0.5089 MB / 0.8261 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.01474, allocations: 40.56 kB / 0.8261 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01485, allocations: 161.7 kB / 0.8263 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.01501, allocations: 208.1 kB / 0.8265 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01502, allocations: 7.938 kB / 0.8265 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003474/0.01536, allocations: 311.8 kB / 0.8268 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01538, allocations: 10.5 kB / 0.8268 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01539, allocations: 4 kB / 0.8268 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/0.01567, allocations: 119.3 kB / 0.8269 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01583, allocations: 63.91 kB / 0.827 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.01806, allocations: 5.22 MB / 0.8321 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01817, allocations: 8 kB / 0.8321 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.01818, allocations: 12 kB / 0.8321 GB, free: 12.88 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 0.0001123/0.01829, allocations: 180.6 kB / 0.8323 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.01834, allocations: 39.75 kB / 0.8323 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.01837, allocations: 38.27 kB / 0.8323 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.01837, allocations: 0 / 0.8323 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.01838, allocations: 4 kB / 0.8323 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01838, allocations: 0 / 0.8323 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.0186, allocations: 209.1 kB / 0.8325 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0186, allocations: 3.938 kB / 0.8326 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.0187, allocations: 39.92 kB / 0.8326 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.01896, allocations: 118.9 kB / 0.8327 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.01897, allocations: 3.938 kB / 0.8327 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.02087, allocations: 5.227 MB / 0.8378 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02087, allocations: 0 / 0.8378 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.02123, allocations: 409.2 kB / 0.8382 GB, free: 6.211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.02129, allocations: 40 kB / 0.8382 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.02131, allocations: 8 kB / 0.8382 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.02141, allocations: 11.98 kB / 0.8383 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.02144, allocations: 23.84 kB / 0.8383 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.02145, allocations: 8 kB / 0.8383 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.13e-05/0.02155, allocations: 201.1 kB / 0.8385 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02155, allocations: 0 / 0.8385 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000327/0.02187, allocations: 92 kB / 0.8386 GB, free: 5.836 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 0.0001081/0.02198, allocations: 107.2 kB / 0.8387 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.02252, allocations: 0.6614 MB / 0.8393 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02252, allocations: 4 kB / 0.8393 GB, free: 5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.02278, allocations: 0.5754 MB / 0.8399 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.02309, allocations: 65.8 kB / 0.8399 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.02405, allocations: 0.6504 MB / 0.8406 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.02413, allocations: 132.4 kB / 0.8407 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.673e-05/0.02423, allocations: 34.97 kB / 0.8407 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.02438, allocations: 142.1 kB / 0.8409 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/0.02438, allocations: 0 / 0.8409 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of Templates: time 0.006788/0.03116, allocations: 4.757 MB / 0.8455 GB, free: 14.64 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: 5.142944218125194]