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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.555/3.555, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002064/0.002064, allocations: 70.86 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4562, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007554/0.4638, allocations: 4.521 MB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.4677, allocations: 1.928 MB / 1.314 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.468, allocations: 15.88 kB / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.4699, allocations: 0.6257 MB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008651/0.4708, allocations: 258.6 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.4717, allocations: 259.4 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008636/0.4726, allocations: 0.6188 MB / 1.315 GB, free: 9.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.4732, allocations: 315.4 kB / 1.316 GB, free: 9.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.4736, allocations: 259.1 kB / 1.316 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.4741, allocations: 286.9 kB / 1.316 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.4742, allocations: 36 kB / 1.316 GB, free: 8.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.4748, allocations: 263.5 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.475, allocations: 155.5 kB / 1.317 GB, free: 8.312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.4752, allocations: 218.9 kB / 1.317 GB, free: 8.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.4762, allocations: 0.611 MB / 1.317 GB, free: 7.484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4762, allocations: 0 / 1.317 GB, free: 7.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4762, allocations: 0 / 1.317 GB, free: 7.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.4762, allocations: 0 / 1.317 GB, free: 7.484 MB / 1.014 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.001504/0.4777, allocations: 0.667 MB / 1.318 GB, free: 6.789 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4777, allocations: 12.92 kB / 1.318 GB, free: 6.777 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.4788, allocations: 144.5 kB / 1.318 GB, free: 6.637 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.4794, allocations: 280.8 kB / 1.318 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4794, allocations: 21.38 kB / 1.318 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.4795, allocations: 44.31 kB / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.4804, allocations: 0.5395 MB / 1.319 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4805, allocations: 0 / 1.319 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.4805, allocations: 15.98 kB / 1.319 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/0.4806, allocations: 32.64 kB / 1.319 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.4812, allocations: 390.3 kB / 1.319 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.4843, allocations: 2.364 MB / 1.322 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.4849, allocations: 246.5 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4851, allocations: 96.81 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4851, allocations: 4 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.4852, allocations: 38.48 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.4852, allocations: 4 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002367/0.4875, allocations: 0.8986 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4876, allocations: 55.41 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.488, allocations: 308.4 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.488, allocations: 29.7 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.4882, allocations: 228.2 kB / 1.324 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.4883, allocations: 95.2 kB / 1.324 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4884, allocations: 58.03 kB / 1.324 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4885, allocations: 338.8 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.4887, allocations: 104.6 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.489, allocations: 195.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.4895, allocations: 312.9 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4895, allocations: 4 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000838/0.4903, allocations: 438.2 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4903, allocations: 15.98 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4903, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.4907, allocations: 94.44 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.491, allocations: 71.91 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.4949, allocations: 4.086 MB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4953, allocations: 8 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.4953, allocations: 19.94 kB / 1.329 GB, free: 10.45 MB / 1.029 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.0003291/0.4956, allocations: 178.5 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4957, allocations: 35.75 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.819e-05/0.4958, allocations: 38.41 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4958, allocations: 4.062 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4958, allocations: 4 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4958, allocations: 0 / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.4963, allocations: 368.5 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4963, allocations: 0 / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4965, allocations: 39.86 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.4969, allocations: 102.4 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4969, allocations: 3.938 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.5006, allocations: 4.085 MB / 1.334 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5006, allocations: 0 / 1.334 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.5015, allocations: 0.5523 MB / 1.334 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.5017, allocations: 43.83 kB / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.5017, allocations: 8 kB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5019, allocations: 15.92 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.502, allocations: 15.97 kB / 1.335 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.502, allocations: 8 kB / 1.335 GB, free: 4.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000266/0.5023, allocations: 215.1 kB / 1.335 GB, free: 4.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5023, allocations: 0 / 1.335 GB, free: 4.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005782/0.5029, allocations: 103.9 kB / 1.335 GB, free: 4.219 MB / 1.029 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.0001926/0.5031, allocations: 99.25 kB / 1.335 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.5041, allocations: 0.604 MB / 1.336 GB, free: 3.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5042, allocations: 0 / 1.336 GB, free: 3.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.5047, allocations: 468.3 kB / 1.336 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.5053, allocations: 78.62 kB / 1.336 GB, free: 2.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.507, allocations: 0.7168 MB / 1.337 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.5076, allocations: 0.8389 MB / 1.338 GB, free: 1.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.5078, allocations: 54.94 kB / 1.338 GB, free: 1.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.5079, allocations: 23.44 kB / 1.338 GB, free: 1.223 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/0.5079, allocations: 4 kB / 1.338 GB, free: 1.219 MB / 1.029 GB Notification: Performance of Templates: time 0.01174/0.5197, allocations: 4.692 MB / 1.342 GB, free: 12.57 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.273500052280724]