Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.00131/0.00131, allocations: 110 kB / 18.93 MB, free: 2.945 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.001616/0.001616, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.562/1.562, allocations: 225.6 MB / 251 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.392/3.392, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 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-master/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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003472/0.003472, allocations: 67.09 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4532, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006779/0.46, allocations: 3.974 MB / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.4635, allocations: 1.811 MB / 1.322 GB, free: 3.902 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.4637, allocations: 7.938 kB / 1.322 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.4654, allocations: 0.502 MB / 1.322 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.4661, allocations: 234.9 kB / 1.322 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.4666, allocations: 203.5 kB / 1.323 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.4673, allocations: 482.1 kB / 1.323 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005607/0.4678, allocations: 265.6 kB / 1.323 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.4681, allocations: 199.3 kB / 1.323 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.4686, allocations: 227.2 kB / 1.324 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.4686, allocations: 28 kB / 1.324 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.4691, allocations: 247.4 kB / 1.324 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.4693, allocations: 135.6 kB / 1.324 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.4695, allocations: 175.1 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.4703, allocations: 0.5059 MB / 1.325 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4703, allocations: 7.938 kB / 1.325 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4703, allocations: 0 / 1.325 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.4703, allocations: 0 / 1.325 GB, free: 0.7188 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001188/0.4715, allocations: 0.5674 MB / 1.325 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4716, allocations: 8.031 kB / 1.325 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.4725, allocations: 132.6 kB / 1.325 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.473, allocations: 238.4 kB / 1.326 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.473, allocations: 25.02 kB / 1.326 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.473, allocations: 28.38 kB / 1.326 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.4738, allocations: 467.7 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4739, allocations: 4 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.4739, allocations: 12 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.474, allocations: 32.64 kB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.4745, allocations: 318.3 kB / 1.327 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.4774, allocations: 2.163 MB / 1.329 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.4778, allocations: 158.7 kB / 1.329 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.4781, allocations: 96.8 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.4781, allocations: 4 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.4782, allocations: 42.5 kB / 1.329 GB, free: 12.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4782, allocations: 0 / 1.329 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006855/0.4789, allocations: 222 kB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.4789, allocations: 51.41 kB / 1.329 GB, free: 11.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.4793, allocations: 269.9 kB / 1.329 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4793, allocations: 29.7 kB / 1.329 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.4795, allocations: 216.2 kB / 1.33 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.4796, allocations: 47.59 kB / 1.33 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.4797, allocations: 45.95 kB / 1.33 GB, free: 11.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.4799, allocations: 334.8 kB / 1.33 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.48, allocations: 60.38 kB / 1.33 GB, free: 10.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.4802, allocations: 145.5 kB / 1.33 GB, free: 10.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.4805, allocations: 218.9 kB / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4805, allocations: 0 / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004495/0.4809, allocations: 262.1 kB / 1.331 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.481, allocations: 4.375 kB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.481, allocations: 8 kB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.4812, allocations: 28.78 kB / 1.331 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.4814, allocations: 43.98 kB / 1.331 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4827, allocations: 1.322 MB / 1.332 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.4829, allocations: 39.7 kB / 1.332 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4829, allocations: 8 kB / 1.332 GB, free: 8.562 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.4831, allocations: 173.7 kB / 1.332 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.4832, allocations: 27.86 kB / 1.332 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.4832, allocations: 25.77 kB / 1.332 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4832, allocations: 4.062 kB / 1.332 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4832, allocations: 4 kB / 1.332 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4832, allocations: 0 / 1.332 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4843, allocations: 0.6704 MB / 1.333 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4843, allocations: 0 / 1.333 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.4844, allocations: 27.92 kB / 1.333 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.759e-05/0.4844, allocations: 32.72 kB / 1.333 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4845, allocations: 4.172 kB / 1.333 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.4857, allocations: 1.318 MB / 1.334 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4857, allocations: 0 / 1.334 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.4861, allocations: 322.9 kB / 1.335 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.4862, allocations: 43.78 kB / 1.335 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4862, allocations: 4 kB / 1.335 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.4864, allocations: 12 kB / 1.335 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4864, allocations: 19.84 kB / 1.335 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4865, allocations: 8 kB / 1.335 GB, free: 5.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000228/0.4867, allocations: 197.2 kB / 1.335 GB, free: 5.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4867, allocations: 0 / 1.335 GB, free: 5.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000401/0.4871, allocations: 71.89 kB / 1.335 GB, free: 5.371 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.4873, allocations: 99.25 kB / 1.335 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.4878, allocations: 266.7 kB / 1.335 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4878, allocations: 4 kB / 1.335 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.488, allocations: 178.5 kB / 1.336 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.4885, allocations: 67.25 kB / 1.336 GB, free: 4.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.4896, allocations: 0.5437 MB / 1.336 GB, free: 4.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.4901, allocations: 0.7909 MB / 1.337 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.4903, allocations: 42.27 kB / 1.337 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4903, allocations: 19.44 kB / 1.337 GB, free: 3.266 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4903, allocations: 4 kB / 1.337 GB, free: 3.262 MB / 1.029 GB Notification: Performance of Templates: time 0.007758/0.4981, allocations: 2.878 MB / 1.34 GB, free: 428 kB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.906776249408722]