Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009927/0.0009927, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000988/0.000988, allocations: 181 kB / 23.36 MB, free: 1.133 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.429/2.429, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.441e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00439/0.004415, allocations: 2.612 MB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.00626, allocations: 1.012 MB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.006392, allocations: 7.938 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.006873, allocations: 99.44 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.007208, allocations: 135.2 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.007473, allocations: 111.7 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.007855, allocations: 314.9 kB / 0.8428 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.008172, allocations: 185.9 kB / 0.8429 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.008397, allocations: 175.6 kB / 0.8431 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.008701, allocations: 123.6 kB / 0.8432 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.008737, allocations: 16 kB / 0.8432 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.008938, allocations: 91.73 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.009036, allocations: 87.73 kB / 0.8434 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.009131, allocations: 83.83 kB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.009491, allocations: 227.2 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.009494, allocations: 0 / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/0.009495, allocations: 0 / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.0095, allocations: 4 kB / 0.8437 GB, free: 8.91 MB / 0.8073 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.0006165/0.01012, allocations: 411.8 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.01016, allocations: 16.56 kB / 0.8441 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.01076, allocations: 108.8 kB / 0.8442 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.01102, allocations: 183.4 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01104, allocations: 12.75 kB / 0.8444 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.01107, allocations: 20.38 kB / 0.8444 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01143, allocations: 280.1 kB / 0.8447 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01144, allocations: 192 / 0.8447 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.01147, allocations: 4.375 kB / 0.8447 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/0.01151, allocations: 24.31 kB / 0.8447 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.01164, allocations: 71.7 kB / 0.8448 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01267, allocations: 0.8924 MB / 0.8457 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.01282, allocations: 49.39 kB / 0.8457 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.01285, allocations: 20.86 kB / 0.8457 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.01286, allocations: 4 kB / 0.8457 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.01289, allocations: 30.72 kB / 0.8458 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.405e-06/0.01289, allocations: 0 / 0.8458 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004407/0.01333, allocations: 110.3 kB / 0.8459 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.01336, allocations: 51.41 kB / 0.8459 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.0135, allocations: 170.5 kB / 0.8461 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.01352, allocations: 25.7 kB / 0.8461 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.01361, allocations: 179.8 kB / 0.8463 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.01363, allocations: 27.8 kB / 0.8463 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.01368, allocations: 37.64 kB / 0.8463 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.01392, allocations: 326.8 kB / 0.8467 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.01394, allocations: 12 kB / 0.8467 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.01401, allocations: 74.39 kB / 0.8467 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.01412, allocations: 115.2 kB / 0.8468 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01412, allocations: 0 / 0.8468 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001583/0.01428, allocations: 126.2 kB / 0.847 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01429, allocations: 8 kB / 0.847 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.0143, allocations: 8.266 kB / 0.847 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.01445, allocations: 28.84 kB / 0.847 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.01452, allocations: 35.92 kB / 0.847 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006158/0.01513, allocations: 1.186 MB / 0.8482 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.0152, allocations: 19.83 kB / 0.8482 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01521, allocations: 11.94 kB / 0.8482 GB, free: 3.891 MB / 0.8073 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 7.552e-05/0.01528, allocations: 120.6 kB / 0.8483 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.0153, allocations: 11.98 kB / 0.8484 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.01532, allocations: 17.45 kB / 0.8484 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01532, allocations: 7.984 kB / 0.8484 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01533, allocations: 0 / 0.8484 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01533, allocations: 3.938 kB / 0.8484 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.01556, allocations: 259.6 kB / 0.8486 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01557, allocations: 0 / 0.8486 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.01559, allocations: 11.98 kB / 0.8486 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-05/0.01568, allocations: 24.84 kB / 0.8487 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.01568, allocations: 3.938 kB / 0.8487 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005092/0.01619, allocations: 1.195 MB / 0.8498 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01619, allocations: 0 / 0.8498 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.01629, allocations: 171.1 kB / 0.85 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.01631, allocations: 15.94 kB / 0.85 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.01632, allocations: 4 kB / 0.85 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.01638, allocations: 7.984 kB / 0.85 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.01639, allocations: 4.125 kB / 0.85 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.01639, allocations: 4 kB / 0.85 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.01643, allocations: 45.88 kB / 0.8501 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01643, allocations: 0 / 0.8501 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001938/0.01663, allocations: 55.84 kB / 0.8501 GB, free: 1.781 MB / 0.8073 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 7.568e-05/0.0167, allocations: 80.41 kB / 0.8502 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.01691, allocations: 179.9 kB / 0.8504 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01691, allocations: 4 kB / 0.8504 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.01698, allocations: 131.5 kB / 0.8505 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01717, allocations: 35.36 kB / 0.8505 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.01779, allocations: 359.2 kB / 0.8509 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.01784, allocations: 87.97 kB / 0.851 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.921e-05/0.01791, allocations: 13.47 kB / 0.851 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01801, allocations: 91.28 kB / 0.8511 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01801, allocations: 0 / 0.8511 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of Templates: time 0.003675/0.02169, allocations: 1.791 MB / 0.8528 GB, free: 14.98 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.267277668230236]