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.001739/0.001739, allocations: 113 kB / 17.6 MB, free: 4.684 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.001972/0.001972, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.109 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.08/3.08, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002121/0.002121, allocations: 63.89 kB / 1.136 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005556/1.147, allocations: 3.98 MB / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002688/1.15, allocations: 1.798 MB / 1.311 GB, free: 29.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/1.15, allocations: 12.38 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.151, allocations: 0.5111 MB / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004869/1.152, allocations: 228.7 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/1.152, allocations: 205.9 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/1.153, allocations: 470.4 kB / 1.312 GB, free: 28.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/1.153, allocations: 276.2 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/1.153, allocations: 192.9 kB / 1.313 GB, free: 28.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/1.154, allocations: 226.9 kB / 1.313 GB, free: 28.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/1.154, allocations: 28.41 kB / 1.313 GB, free: 28.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/1.154, allocations: 249 kB / 1.313 GB, free: 28.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/1.154, allocations: 132.6 kB / 1.313 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/1.154, allocations: 169.3 kB / 1.314 GB, free: 28.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/1.155, allocations: 0.505 MB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.155, allocations: 0 / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/1.155, allocations: 4 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.155, allocations: 2.812 kB / 1.314 GB, free: 28.07 MB / 1.061 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.0009508/1.156, allocations: 0.6429 MB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.156, allocations: 8.906 kB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/1.157, allocations: 132.8 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/1.157, allocations: 303.2 kB / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.157, allocations: 20.19 kB / 1.315 GB, free: 27.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/1.157, allocations: 30.14 kB / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/1.158, allocations: 465.4 kB / 1.316 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/1.158, allocations: 0 / 1.316 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/1.158, allocations: 13.75 kB / 1.316 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/1.158, allocations: 28.09 kB / 1.316 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/1.158, allocations: 330.6 kB / 1.316 GB, free: 26.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.16, allocations: 2.179 MB / 1.318 GB, free: 24.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/1.16, allocations: 237.2 kB / 1.318 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/1.16, allocations: 95.62 kB / 1.318 GB, free: 24.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/1.16, allocations: 2.625 kB / 1.318 GB, free: 24.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.16, allocations: 41.19 kB / 1.319 GB, free: 24.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/1.16, allocations: 0 / 1.319 GB, free: 24.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0005628/1.161, allocations: 303.2 kB / 1.319 GB, free: 24.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.161, allocations: 51.66 kB / 1.319 GB, free: 24.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/1.161, allocations: 265.5 kB / 1.319 GB, free: 24.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/1.161, allocations: 29.7 kB / 1.319 GB, free: 24.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/1.161, allocations: 223.7 kB / 1.319 GB, free: 24.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.161, allocations: 44.38 kB / 1.319 GB, free: 24.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/1.161, allocations: 47.56 kB / 1.319 GB, free: 23.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/1.162, allocations: 342.8 kB / 1.32 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/1.162, allocations: 58 kB / 1.32 GB, free: 23.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.162, allocations: 145.3 kB / 1.32 GB, free: 23.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/1.162, allocations: 221.5 kB / 1.32 GB, free: 23.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.162, allocations: 4 kB / 1.32 GB, free: 23.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003352/1.162, allocations: 261.5 kB / 1.32 GB, free: 23.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.162, allocations: 7.875 kB / 1.32 GB, free: 23.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.162, allocations: 3 kB / 1.32 GB, free: 23.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/1.163, allocations: 32.66 kB / 1.32 GB, free: 23.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.163, allocations: 50.64 kB / 1.321 GB, free: 23.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008047/1.163, allocations: 1.429 MB / 1.322 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/1.164, allocations: 30.23 kB / 1.322 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.164, allocations: 11.88 kB / 1.322 GB, free: 21.74 MB / 1.061 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.0001351/1.164, allocations: 168.1 kB / 1.322 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/1.164, allocations: 29.08 kB / 1.322 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/1.164, allocations: 26.52 kB / 1.322 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.164, allocations: 6.609 kB / 1.322 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.164, allocations: 0 / 1.322 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.164, allocations: 3.375 kB / 1.322 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/1.165, allocations: 0.7024 MB / 1.323 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.165, allocations: 2.844 kB / 1.323 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/1.165, allocations: 20.23 kB / 1.323 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.252e-05/1.165, allocations: 27.11 kB / 1.323 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.165, allocations: 2.781 kB / 1.323 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006769/1.166, allocations: 1.423 MB / 1.324 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/1.166, allocations: 3.938 kB / 1.324 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/1.166, allocations: 322 kB / 1.325 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/1.166, allocations: 116.6 kB / 1.325 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/1.166, allocations: 6.125 kB / 1.325 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.166, allocations: 7.625 kB / 1.325 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/1.166, allocations: 16.55 kB / 1.325 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/1.166, allocations: 5.875 kB / 1.325 GB, free: 19.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001397/1.166, allocations: 196.1 kB / 1.325 GB, free: 19.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 1.325 GB, free: 19.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003932/1.167, allocations: 79.23 kB / 1.325 GB, free: 19.05 MB / 1.061 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.0001246/1.167, allocations: 105.7 kB / 1.325 GB, free: 18.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004261/1.167, allocations: 268.3 kB / 1.325 GB, free: 18.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.167, allocations: 0 / 1.325 GB, free: 18.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/1.167, allocations: 179.1 kB / 1.326 GB, free: 18.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/1.168, allocations: 63.5 kB / 1.326 GB, free: 18.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/1.169, allocations: 0.5491 MB / 1.326 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.169, allocations: 0.8009 MB / 1.327 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001343/1.169, allocations: 43.25 kB / 1.327 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/1.169, allocations: 19.16 kB / 1.327 GB, free: 17.55 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/1.169, allocations: 0 / 1.327 GB, free: 17.55 MB / 1.061 GB Notification: Performance of Templates: time 0.007612/1.177, allocations: 2.815 MB / 1.33 GB, free: 17.32 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] 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.882332229055464]