Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001789/0.001789, allocations: 83.89 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002116/0.002116, allocations: 156.8 kB / 23.01 MB, free: 4.961 MB / 14.72 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.904/2.904, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 63.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9201/0.9232, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004178/0.9274, allocations: 3.465 MB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.9314, allocations: 2.418 MB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.9318, allocations: 20.66 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.9325, allocations: 244.2 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.9336, allocations: 0.5358 MB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.9352, allocations: 0.5632 MB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.937, allocations: 1.404 MB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.9372, allocations: 95.38 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.9378, allocations: 438.1 kB / 1.196 GB, free: 10.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.9385, allocations: 473.1 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.9386, allocations: 55.47 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.9388, allocations: 71.28 kB / 1.196 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.9392, allocations: 400.2 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.9396, allocations: 388.2 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.9407, allocations: 0.9648 MB / 1.198 GB, free: 9.926 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9407, allocations: 0 / 1.198 GB, free: 9.926 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9407, allocations: 0 / 1.198 GB, free: 9.926 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.9407, allocations: 0 / 1.198 GB, free: 9.926 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002299/0.943, allocations: 1.231 MB / 1.199 GB, free: 9.145 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.943, allocations: 12.75 kB / 1.199 GB, free: 9.141 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.9433, allocations: 112.2 kB / 1.199 GB, free: 9.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.9444, allocations: 0.6161 MB / 1.2 GB, free: 8.707 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.9444, allocations: 41.62 kB / 1.2 GB, free: 8.688 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.9445, allocations: 54.78 kB / 1.2 GB, free: 8.672 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.9452, allocations: 414.1 kB / 1.2 GB, free: 8.449 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.9452, allocations: 9.094 kB / 1.2 GB, free: 8.441 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.9452, allocations: 16.03 kB / 1.2 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9453, allocations: 7.688 kB / 1.2 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.9457, allocations: 231.9 kB / 1.2 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.9483, allocations: 1.83 MB / 1.202 GB, free: 7.129 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.9497, allocations: 0.5283 MB / 1.203 GB, free: 6.973 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.95, allocations: 146.5 kB / 1.203 GB, free: 6.922 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.95, allocations: 4.5 kB / 1.203 GB, free: 6.922 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.95, allocations: 33.3 kB / 1.203 GB, free: 6.883 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.774e-06/0.95, allocations: 0 / 1.203 GB, free: 6.883 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.001575/0.9516, allocations: 0.6676 MB / 1.204 GB, free: 6.621 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.9516, allocations: 54.91 kB / 1.204 GB, free: 6.559 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.9528, allocations: 0.9251 MB / 1.205 GB, free: 6.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.9529, allocations: 41.2 kB / 1.205 GB, free: 6.137 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.9531, allocations: 374.7 kB / 1.205 GB, free: 5.844 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.9532, allocations: 124.5 kB / 1.205 GB, free: 5.746 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.9534, allocations: 167.6 kB / 1.205 GB, free: 5.664 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9535, allocations: 399.4 kB / 1.206 GB, free: 5.312 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.954, allocations: 241.9 kB / 1.206 GB, free: 5.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.9545, allocations: 0.6452 MB / 1.206 GB, free: 4.652 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.9554, allocations: 0.8833 MB / 1.207 GB, free: 3.922 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.9554, allocations: 3.219 kB / 1.207 GB, free: 3.922 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001587/0.957, allocations: 1.019 MB / 1.208 GB, free: 3.504 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.957, allocations: 16.62 kB / 1.208 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.957, allocations: 13.72 kB / 1.208 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.9574, allocations: 123.3 kB / 1.208 GB, free: 3.457 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.9581, allocations: 192.7 kB / 1.209 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.9606, allocations: 4.097 MB / 1.213 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.9617, allocations: 117.2 kB / 1.213 GB, free: 15.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.9617, allocations: 43 kB / 1.213 GB, free: 15.5 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.9621, allocations: 265.6 kB / 1.213 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.9623, allocations: 87.5 kB / 1.213 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.9624, allocations: 78.97 kB / 1.213 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.9624, allocations: 3.531 kB / 1.213 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.9625, allocations: 7.281 kB / 1.213 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9625, allocations: 1.453 kB / 1.213 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.9632, allocations: 475.3 kB / 1.214 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9632, allocations: 0 / 1.214 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.9635, allocations: 75.69 kB / 1.214 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.9638, allocations: 106.9 kB / 1.214 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.9639, allocations: 10.16 kB / 1.214 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.9674, allocations: 4.057 MB / 1.218 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9674, allocations: 3.938 kB / 1.218 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.9687, allocations: 0.7425 MB / 1.219 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.9691, allocations: 136.1 kB / 1.219 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.9691, allocations: 14.44 kB / 1.219 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.9697, allocations: 27.56 kB / 1.219 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.9698, allocations: 26.05 kB / 1.219 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.9698, allocations: 4.656 kB / 1.219 GB, free: 10.57 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00101/0.9708, allocations: 0.6255 MB / 1.219 GB, free: 10.32 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.9708, allocations: 1.5 kB / 1.219 GB, free: 10.32 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009858/0.9718, allocations: 271.5 kB / 1.22 GB, free: 10.29 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001423/0.9719, allocations: 111.8 kB / 1.22 GB, free: 10.19 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.9734, allocations: 0.8897 MB / 1.221 GB, free: 9.684 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9734, allocations: 0 / 1.221 GB, free: 9.684 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/0.9741, allocations: 0.5185 MB / 1.221 GB, free: 9.281 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.975, allocations: 169.7 kB / 1.221 GB, free: 9.207 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.9777, allocations: 1.741 MB / 1.223 GB, free: 8.172 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.9782, allocations: 397.6 kB / 1.223 GB, free: 8.051 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.9786, allocations: 144.7 kB / 1.223 GB, free: 8.031 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.9788, allocations: 52.09 kB / 1.224 GB, free: 8.016 MB / 1.092 GB Notification: Performance of SimCode: time 1.242e-06/0.9788, allocations: 0 / 1.224 GB, free: 8.016 MB / 1.092 GB Notification: Performance of Templates: time 0.02214/1.001, allocations: 10.77 MB / 1.234 GB, free: 6.109 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.357940142042935]