Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.002554/0.002554, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002874/0.002874, allocations: 157.3 kB / 23.55 MB, free: 0.8828 MB / 18.57 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.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.069/3.069, allocations: 377.9 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.667e-05, allocations: 3.594 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005859/0.005896, allocations: 3.144 MB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.008719, allocations: 1.353 MB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.00888, allocations: 11.94 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.01048, allocations: 349.7 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.01092, allocations: 147 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.01138, allocations: 144.7 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000469/0.01185, allocations: 306.9 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.01233, allocations: 182.4 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.0126, allocations: 179.5 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.01295, allocations: 123.7 kB / 0.8165 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.01299, allocations: 16 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.01333, allocations: 162.1 kB / 0.8167 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.01345, allocations: 83.8 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.01358, allocations: 79.83 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.01413, allocations: 350.8 kB / 0.8172 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01414, allocations: 0 / 0.8172 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01414, allocations: 0 / 0.8172 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.01414, allocations: 0 / 0.8172 GB, free: 11.53 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001019/0.01516, allocations: 0.5554 MB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01521, allocations: 9.688 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.01588, allocations: 120.6 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.01626, allocations: 193.8 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.01629, allocations: 16.75 kB / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.01633, allocations: 17.53 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.01683, allocations: 318.3 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.01685, allocations: 4.188 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.01687, allocations: 9.438 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.01693, allocations: 24.3 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.01717, allocations: 97.02 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01896, allocations: 1.293 MB / 0.8198 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.01921, allocations: 89.08 kB / 0.8199 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.01926, allocations: 19.69 kB / 0.8199 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.01928, allocations: 4 kB / 0.8199 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.01934, allocations: 37.33 kB / 0.8199 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.01934, allocations: 0.5625 kB / 0.8199 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005211/0.01986, allocations: 123.8 kB / 0.82 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.01991, allocations: 51.41 kB / 0.8201 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.0202, allocations: 266.8 kB / 0.8204 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.02023, allocations: 29.7 kB / 0.8204 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.02041, allocations: 226.8 kB / 0.8206 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.02044, allocations: 19.86 kB / 0.8206 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.02053, allocations: 53.06 kB / 0.8207 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003088/0.02083, allocations: 0.4962 MB / 0.8212 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.0209, allocations: 27.98 kB / 0.8212 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.02106, allocations: 116.9 kB / 0.8213 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.0213, allocations: 160.5 kB / 0.8214 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.0213, allocations: 4 kB / 0.8214 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003428/0.02164, allocations: 171.1 kB / 0.8216 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02166, allocations: 8 kB / 0.8216 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.02167, allocations: 0.6562 kB / 0.8216 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.02195, allocations: 39.34 kB / 0.8217 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.02206, allocations: 31.94 kB / 0.8217 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.02394, allocations: 1.757 MB / 0.8234 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.02407, allocations: 15.89 kB / 0.8234 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02408, allocations: 4 kB / 0.8234 GB, free: 4.695 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001624/0.02424, allocations: 177.5 kB / 0.8236 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.02429, allocations: 15.91 kB / 0.8236 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.02433, allocations: 21.45 kB / 0.8236 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.02433, allocations: 5.031 kB / 0.8236 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02433, allocations: 0 / 0.8236 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.02434, allocations: 0 / 0.8236 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.02494, allocations: 422.2 kB / 0.824 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.02494, allocations: 7.938 kB / 0.824 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.02499, allocations: 13.12 kB / 0.8241 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/0.02516, allocations: 34.12 kB / 0.8241 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.02517, allocations: 0 / 0.8241 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.02661, allocations: 1.753 MB / 0.8258 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02661, allocations: 0 / 0.8258 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.02692, allocations: 251.5 kB / 0.826 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.02698, allocations: 20.42 kB / 0.8261 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.027, allocations: 9.219 kB / 0.8261 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02711, allocations: 7.938 kB / 0.8261 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.02714, allocations: 7.984 kB / 0.8261 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.02715, allocations: 0.5312 kB / 0.8261 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001669/0.02731, allocations: 175.2 kB / 0.8262 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02731, allocations: 4 kB / 0.8263 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000406/0.02772, allocations: 51.89 kB / 0.8263 GB, free: 1.547 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001406/0.02786, allocations: 100.1 kB / 0.8264 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004632/0.02832, allocations: 253.4 kB / 0.8266 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02833, allocations: 0.5625 kB / 0.8266 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.02855, allocations: 205.5 kB / 0.8268 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.02899, allocations: 30.25 kB / 0.8269 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.02974, allocations: 347.7 kB / 0.8272 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.02992, allocations: 135.9 kB / 0.8273 GB, free: 408 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.03001, allocations: 21.47 kB / 0.8273 GB, free: 384 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.03004, allocations: 16.5 kB / 0.8274 GB, free: 368 kB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.03005, allocations: 0 / 0.8274 GB, free: 368 kB / 0.7761 GB Notification: Performance of Templates: time 0.006265/0.03631, allocations: 1.675 MB / 0.829 GB, free: 14.74 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 8.451908763032407]