Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001391/0.001391, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001447/0.001447, allocations: 169 kB / 24.28 MB, free: 284 kB / 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 0.9714/0.9714, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8115 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.057e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002805/0.002825, allocations: 2.793 MB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.005839, allocations: 2.792 MB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.006016, allocations: 7.938 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.007029, allocations: 484.5 kB / 0.8174 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.007475, allocations: 305.9 kB / 0.8177 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.008128, allocations: 416.8 kB / 0.8181 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.009208, allocations: 1.539 MB / 0.8196 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.009324, allocations: 79.53 kB / 0.8197 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.009881, allocations: 0.6004 MB / 0.8202 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.01026, allocations: 411.1 kB / 0.8206 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.01031, allocations: 48.84 kB / 0.8207 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.01041, allocations: 56 kB / 0.8207 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.01061, allocations: 309.4 kB / 0.821 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.0108, allocations: 247.4 kB / 0.8213 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.01125, allocations: 0.6074 MB / 0.8219 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01125, allocations: 0 / 0.8219 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.01125, allocations: 0 / 0.8219 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.01126, allocations: 0 / 0.8219 GB, free: 7.516 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.001119/0.01238, allocations: 1.228 MB / 0.8231 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.01241, allocations: 12.02 kB / 0.8231 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.01256, allocations: 105 kB / 0.8232 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.01308, allocations: 0.547 MB / 0.8237 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.0131, allocations: 32.88 kB / 0.8237 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.01314, allocations: 36.38 kB / 0.8238 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.01356, allocations: 248.8 kB / 0.824 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.01357, allocations: 4.188 kB / 0.824 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01358, allocations: 8.125 kB / 0.824 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.01359, allocations: 8.656 kB / 0.824 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.01372, allocations: 87.53 kB / 0.8241 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01509, allocations: 1.791 MB / 0.8259 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.01554, allocations: 268 kB / 0.8261 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.01561, allocations: 59.62 kB / 0.8262 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.01563, allocations: 5.062 kB / 0.8262 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.01564, allocations: 37.39 kB / 0.8262 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.01564, allocations: 1.094 kB / 0.8262 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0003808/0.01602, allocations: 252.7 kB / 0.8265 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.01604, allocations: 55.41 kB / 0.8265 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.01671, allocations: 0.8236 MB / 0.8273 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.01673, allocations: 30.36 kB / 0.8273 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.01694, allocations: 399.5 kB / 0.8277 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.01699, allocations: 86.28 kB / 0.8278 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01711, allocations: 152 kB / 0.828 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01729, allocations: 0.5977 MB / 0.8285 GB, free: 456 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.01739, allocations: 53.27 kB / 0.8286 GB, free: 404 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.01765, allocations: 465.3 kB / 0.829 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.01805, allocations: 0.555 MB / 0.8296 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.01805, allocations: 4 kB / 0.8296 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005175/0.01857, allocations: 479.6 kB / 0.83 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01859, allocations: 12.22 kB / 0.83 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.0186, allocations: 12 kB / 0.8301 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.01879, allocations: 51.58 kB / 0.8301 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.01904, allocations: 135.8 kB / 0.8302 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000912/0.01995, allocations: 1.782 MB / 0.832 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.02028, allocations: 119.4 kB / 0.8321 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.0203, allocations: 28 kB / 0.8321 GB, free: 12.3 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.0001224/0.02043, allocations: 192.3 kB / 0.8323 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.02049, allocations: 67.58 kB / 0.8324 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.02055, allocations: 57.86 kB / 0.8324 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02055, allocations: 4 kB / 0.8324 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.02055, allocations: 4.094 kB / 0.8324 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02056, allocations: 7.922 kB / 0.8324 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.02095, allocations: 492.3 kB / 0.8329 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02095, allocations: 3.938 kB / 0.8329 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.02108, allocations: 47.95 kB / 0.833 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.02118, allocations: 39.64 kB / 0.833 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.0212, allocations: 12 kB / 0.833 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006386/0.02184, allocations: 1.747 MB / 0.8347 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02184, allocations: 0 / 0.8347 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.02216, allocations: 396.3 kB / 0.8351 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.02229, allocations: 119.5 kB / 0.8352 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.02233, allocations: 4.125 kB / 0.8352 GB, free: 8.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.02253, allocations: 47.92 kB / 0.8353 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.02257, allocations: 15.97 kB / 0.8353 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.02258, allocations: 4 kB / 0.8353 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003843/0.02296, allocations: 475 kB / 0.8357 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02296, allocations: 0 / 0.8357 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003751/0.02334, allocations: 183.8 kB / 0.8359 GB, free: 8.227 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 8.616e-05/0.02342, allocations: 111.2 kB / 0.836 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.02387, allocations: 412.3 kB / 0.8364 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02387, allocations: 0 / 0.8364 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.02402, allocations: 241.6 kB / 0.8366 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.0245, allocations: 163.5 kB / 0.8368 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.02603, allocations: 1.15 MB / 0.8379 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.02615, allocations: 197.2 kB / 0.8381 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.02638, allocations: 136.5 kB / 0.8382 GB, free: 5.734 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.02648, allocations: 40.5 kB / 0.8383 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/0.02648, allocations: 4 kB / 0.8383 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of Templates: time 0.01016/0.03664, allocations: 8.766 MB / 0.8468 GB, free: 13.13 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.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.380581932142377]