Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.002418/0.002418, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002752/0.002752, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.018/3.018, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.736e-05, allocations: 5.266 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004574/0.004602, allocations: 2.765 MB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.00954, allocations: 2.788 MB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.00973, allocations: 13.53 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.01131, allocations: 495.4 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.01197, allocations: 293.2 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01297, allocations: 429.3 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.01506, allocations: 1.538 MB / 0.8189 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.01526, allocations: 70.41 kB / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.01631, allocations: 0.6087 MB / 0.8195 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.01708, allocations: 409.6 kB / 0.8199 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.01719, allocations: 51.98 kB / 0.82 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.01738, allocations: 56 kB / 0.82 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.01779, allocations: 299.2 kB / 0.8203 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.01816, allocations: 251.4 kB / 0.8205 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.01955, allocations: 0.9153 MB / 0.8214 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01955, allocations: 0 / 0.8214 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01955, allocations: 1.719 kB / 0.8214 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.01956, allocations: 0 / 0.8214 GB, free: 7.207 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002507/0.02207, allocations: 1.258 MB / 0.8227 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.02211, allocations: 12.69 kB / 0.8227 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.02238, allocations: 104.4 kB / 0.8228 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.0236, allocations: 0.5891 MB / 0.8234 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.02364, allocations: 28.88 kB / 0.8234 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.02372, allocations: 40.38 kB / 0.8234 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.02425, allocations: 293.5 kB / 0.8237 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.02427, allocations: 4.172 kB / 0.8237 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.02431, allocations: 16.12 kB / 0.8237 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.02433, allocations: 7.984 kB / 0.8237 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.02464, allocations: 122.9 kB / 0.8238 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.02793, allocations: 1.95 MB / 0.8257 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.0289, allocations: 268.4 kB / 0.826 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.02907, allocations: 73.61 kB / 0.8261 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.02909, allocations: 4 kB / 0.8261 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.02913, allocations: 41.33 kB / 0.8261 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.02913, allocations: 0 / 0.8261 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0008695/0.03, allocations: 294.3 kB / 0.8264 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.03005, allocations: 55.41 kB / 0.8264 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.03161, allocations: 1.043 MB / 0.8275 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.03166, allocations: 37.7 kB / 0.8275 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.03211, allocations: 422 kB / 0.8279 GB, free: 376 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.03223, allocations: 83.41 kB / 0.828 GB, free: 292 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.03275, allocations: 167.9 kB / 0.8281 GB, free: 116 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005235/0.03328, allocations: 0.6251 MB / 0.8288 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.03352, allocations: 93.23 kB / 0.8288 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.03415, allocations: 0.4895 MB / 0.8293 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008761/0.03503, allocations: 0.6203 MB / 0.8299 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.03504, allocations: 4 kB / 0.8299 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00118/0.03622, allocations: 0.5393 MB / 0.8305 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.03624, allocations: 8 kB / 0.8305 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.03626, allocations: 8 kB / 0.8305 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.03661, allocations: 60.33 kB / 0.8305 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.03709, allocations: 135.7 kB / 0.8307 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.03886, allocations: 1.814 MB / 0.8324 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.03967, allocations: 119.5 kB / 0.8325 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.03972, allocations: 32.12 kB / 0.8326 GB, free: 11.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0003621/0.04008, allocations: 280.2 kB / 0.8328 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.04022, allocations: 67.58 kB / 0.8329 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.04034, allocations: 57.86 kB / 0.833 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.04034, allocations: 0 / 0.833 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.04034, allocations: 4 kB / 0.833 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.04035, allocations: 3.938 kB / 0.833 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.0412, allocations: 0.5432 MB / 0.8335 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0412, allocations: 0 / 0.8335 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.04149, allocations: 59.89 kB / 0.8336 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.04171, allocations: 39.64 kB / 0.8336 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.04174, allocations: 4 kB / 0.8336 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.04353, allocations: 1.795 MB / 0.8354 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04353, allocations: 0 / 0.8354 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.04424, allocations: 445.7 kB / 0.8358 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.04457, allocations: 111.5 kB / 0.8359 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.04466, allocations: 8 kB / 0.8359 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.04507, allocations: 43.92 kB / 0.8359 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.04513, allocations: 11.97 kB / 0.8359 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.04514, allocations: 4 kB / 0.8359 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009664/0.04611, allocations: 0.6357 MB / 0.8366 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.04611, allocations: 4 kB / 0.8366 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007091/0.04682, allocations: 191.8 kB / 0.8368 GB, free: 6.598 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (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 Backend phase and start with SimCode phase: time 0.0001706/0.04699, allocations: 107.2 kB / 0.8369 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009175/0.04791, allocations: 476.2 kB / 0.8373 GB, free: 6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04791, allocations: 0 / 0.8373 GB, free: 6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.04827, allocations: 253.4 kB / 0.8376 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.04911, allocations: 175.3 kB / 0.8377 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.05124, allocations: 1.214 MB / 0.8389 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.05169, allocations: 380.7 kB / 0.8393 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.05207, allocations: 136.5 kB / 0.8394 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.0522, allocations: 36.5 kB / 0.8394 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of SimCode: time 7.81e-07/0.0522, allocations: 0 / 0.8394 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of Templates: time 0.01798/0.07018, allocations: 8.758 MB / 0.848 GB, free: 11.2 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.317766632069834]