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.002019/0.002019, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00324/0.00324, allocations: 209.4 kB / 22.24 MB, free: 4.855 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.442/3.442, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 72.58 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4585, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006855/0.4654, allocations: 4.261 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003629/0.469, allocations: 1.831 MB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.4693, allocations: 15.88 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.4712, allocations: 0.5979 MB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.472, allocations: 266.6 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.4729, allocations: 255.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.4739, allocations: 0.6112 MB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.4747, allocations: 343.1 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.4752, allocations: 255.1 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.4758, allocations: 266.9 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.4759, allocations: 36 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.4765, allocations: 227.5 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.4766, allocations: 163.5 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.4769, allocations: 187.2 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.4777, allocations: 0.6188 MB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4777, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4777, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4777, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 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.001312/0.479, allocations: 0.6609 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.479, allocations: 8.031 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000985/0.48, allocations: 152.5 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.4806, allocations: 276.8 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.4806, allocations: 33.31 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.4807, allocations: 28.38 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.4816, allocations: 0.6862 MB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4817, allocations: 0 / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.4817, allocations: 16 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.4818, allocations: 28.64 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.4824, allocations: 386.3 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.485, allocations: 1.668 MB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.4856, allocations: 259.3 kB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.4857, allocations: 97.14 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4858, allocations: 4 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4858, allocations: 38.52 kB / 1.339 GB, free: 3.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.4858, allocations: 3.938 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00232/0.4881, allocations: 0.8966 MB / 1.34 GB, free: 2.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4882, allocations: 51.41 kB / 1.34 GB, free: 2.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.4885, allocations: 277.8 kB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.4886, allocations: 33.7 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.4887, allocations: 232.1 kB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.4888, allocations: 87.25 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4889, allocations: 65.98 kB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4891, allocations: 338.8 kB / 1.341 GB, free: 1.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4893, allocations: 104.6 kB / 1.341 GB, free: 1.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.4895, allocations: 191.7 kB / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.49, allocations: 316.2 kB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.49, allocations: 0 / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008659/0.4909, allocations: 433.9 kB / 1.342 GB, free: 300 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4909, allocations: 7.984 kB / 1.342 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4909, allocations: 4 kB / 1.342 GB, free: 288 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.4913, allocations: 98.78 kB / 1.342 GB, free: 180 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.4916, allocations: 67.91 kB / 1.342 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/0.4953, allocations: 4.009 MB / 1.346 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.4956, allocations: 16.03 kB / 1.346 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.4956, allocations: 8 kB / 1.346 GB, free: 11.77 MB / 1.045 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.0002762/0.4959, allocations: 182.6 kB / 1.347 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.496, allocations: 31.81 kB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.4961, allocations: 42.27 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4961, allocations: 0 / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.4961, allocations: 7.938 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4961, allocations: 3.984 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.4966, allocations: 277.2 kB / 1.347 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4966, allocations: 4 kB / 1.347 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.4968, allocations: 27.98 kB / 1.347 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.4971, allocations: 98.42 kB / 1.347 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4971, allocations: 8 kB / 1.347 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.5006, allocations: 3.996 MB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5006, allocations: 0 / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.5015, allocations: 0.5582 MB / 1.352 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.5017, allocations: 51.86 kB / 1.352 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.5017, allocations: 4 kB / 1.352 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5019, allocations: 11.98 kB / 1.352 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.502, allocations: 35.69 kB / 1.352 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.502, allocations: 4 kB / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000207/0.5022, allocations: 189.2 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5022, allocations: 4.062 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005039/0.5027, allocations: 100 kB / 1.352 GB, free: 5.773 MB / 1.045 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.0001485/0.5028, allocations: 105.1 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.5038, allocations: 0.5939 MB / 1.353 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5038, allocations: 0 / 1.353 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.5044, allocations: 461.7 kB / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.5049, allocations: 77.77 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5064, allocations: 0.7206 MB / 1.354 GB, free: 3.723 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5067, allocations: 232 kB / 1.354 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.5069, allocations: 54.94 kB / 1.354 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.507, allocations: 23.44 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.507, allocations: 0 / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of Templates: time 0.01105/0.518, allocations: 4.754 MB / 1.359 GB, free: 14.72 MB / 1.061 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.062800865620375]