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.001444/0.001444, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001486/0.001486, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.57/1.57, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.244/3.244, allocations: 0.4899 GB / 0.7915 GB, free: 33.07 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.002267/0.002267, allocations: 77.67 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4561, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007465/0.4635, allocations: 4.433 MB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.4685, allocations: 1.928 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.469, allocations: 11.94 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.4709, allocations: 0.6031 MB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008093/0.4717, allocations: 266.6 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.4726, allocations: 250.4 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.4734, allocations: 0.6151 MB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/0.4741, allocations: 362.9 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.4744, allocations: 259.1 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.475, allocations: 282.9 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.475, allocations: 36 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.4756, allocations: 263.5 kB / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.4757, allocations: 155.5 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.476, allocations: 218.9 kB / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.4769, allocations: 0.611 MB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4769, allocations: 0 / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4769, allocations: 0 / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.4769, allocations: 0 / 1.331 GB, free: 8.527 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.001482/0.4784, allocations: 0.7323 MB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4784, allocations: 15.98 kB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4794, allocations: 148.5 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.48, allocations: 346.6 kB / 1.332 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.48, allocations: 29.31 kB / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.4801, allocations: 36.38 kB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.481, allocations: 0.5356 MB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.481, allocations: 0 / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.4811, allocations: 16 kB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.4811, allocations: 32.64 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.4818, allocations: 390.3 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.4848, allocations: 2.396 MB / 1.336 GB, free: 3.523 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.4854, allocations: 242.5 kB / 1.336 GB, free: 3.277 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.4856, allocations: 100.8 kB / 1.336 GB, free: 3.176 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4856, allocations: 4 kB / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4857, allocations: 34.56 kB / 1.336 GB, free: 3.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.4857, allocations: 0 / 1.336 GB, free: 3.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002554/0.4882, allocations: 1.132 MB / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4883, allocations: 59.39 kB / 1.337 GB, free: 1.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4886, allocations: 300.5 kB / 1.338 GB, free: 1.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.4887, allocations: 25.7 kB / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4889, allocations: 248.1 kB / 1.338 GB, free: 1.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.4889, allocations: 79.27 kB / 1.338 GB, free: 1.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4891, allocations: 65.98 kB / 1.338 GB, free: 1.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4893, allocations: 342.8 kB / 1.338 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4894, allocations: 100.6 kB / 1.338 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4897, allocations: 191.7 kB / 1.339 GB, free: 440 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.4902, allocations: 316.4 kB / 1.339 GB, free: 88 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4902, allocations: 4 kB / 1.339 GB, free: 84 kB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008569/0.491, allocations: 442 kB / 1.339 GB, free: 15.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4911, allocations: 8 kB / 1.339 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4911, allocations: 4 kB / 1.339 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/0.4915, allocations: 106.6 kB / 1.339 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.4918, allocations: 63.89 kB / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.4959, allocations: 4.391 MB / 1.344 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.4962, allocations: 12 kB / 1.344 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.4962, allocations: 8 kB / 1.344 GB, free: 10.61 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.0002782/0.4965, allocations: 193.8 kB / 1.344 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.4966, allocations: 35.75 kB / 1.344 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.4967, allocations: 38.31 kB / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4967, allocations: 8 kB / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4967, allocations: 0 / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4967, allocations: 0 / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.4972, allocations: 401.4 kB / 1.344 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4972, allocations: 4 kB / 1.344 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.4974, allocations: 35.86 kB / 1.344 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.4978, allocations: 98.42 kB / 1.345 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.4978, allocations: 8 kB / 1.345 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/0.502, allocations: 4.383 MB / 1.349 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.502, allocations: 0 / 1.349 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.503, allocations: 0.5618 MB / 1.349 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.5032, allocations: 124.9 kB / 1.35 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.5032, allocations: 8 kB / 1.35 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5034, allocations: 8.062 kB / 1.35 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.5035, allocations: 31.77 kB / 1.35 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.5035, allocations: 4 kB / 1.35 GB, free: 4.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002758/0.5038, allocations: 211.1 kB / 1.35 GB, free: 3.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5038, allocations: 0 / 1.35 GB, free: 3.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005476/0.5043, allocations: 103.9 kB / 1.35 GB, free: 3.852 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.0001677/0.5045, allocations: 103.2 kB / 1.35 GB, free: 3.742 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.5056, allocations: 0.5896 MB / 1.351 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5056, allocations: 0.6875 kB / 1.351 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.5062, allocations: 469.5 kB / 1.351 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.5067, allocations: 64.61 kB / 1.351 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5082, allocations: 0.7251 MB / 1.352 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.5088, allocations: 0.835 MB / 1.353 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.509, allocations: 62.92 kB / 1.353 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.5091, allocations: 27.42 kB / 1.353 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.5091, allocations: 0 / 1.353 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of Templates: time 0.01172/0.5208, allocations: 4.53 MB / 1.357 GB, free: 12.37 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: 9.547324439976364]