Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.0009977/0.0009977, allocations: 80.3 kB / 21.47 MB, free: 3.02 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.001273/0.001273, allocations: 171.3 kB / 24.87 MB, free: 9.211 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 0.9546/0.9546, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.895/1.895, allocations: 377.9 MB / 0.6247 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] 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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.504e-05, allocations: 2.938 kB / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003737/0.003762, allocations: 2.769 MB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.006901, allocations: 2.776 MB / 0.8181 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.007186, allocations: 11.88 kB / 0.8182 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.008485, allocations: 479.7 kB / 0.8186 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.009088, allocations: 313.1 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.009959, allocations: 417.9 kB / 0.8193 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.01127, allocations: 1.547 MB / 0.8208 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.01144, allocations: 71.2 kB / 0.8209 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009504/0.01239, allocations: 0.5966 MB / 0.8215 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.01286, allocations: 420.4 kB / 0.8219 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.01292, allocations: 44 kB / 0.8219 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.01304, allocations: 56 kB / 0.822 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.01325, allocations: 308 kB / 0.8223 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.01345, allocations: 251.4 kB / 0.8225 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.01401, allocations: 0.6085 MB / 0.8231 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01402, allocations: 0 / 0.8231 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01402, allocations: 0 / 0.8231 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.01403, allocations: 5.375 kB / 0.8231 GB, free: 6.848 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.001209/0.01523, allocations: 1.13 MB / 0.8242 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.01527, allocations: 8.031 kB / 0.8242 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.01545, allocations: 108.4 kB / 0.8243 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.01597, allocations: 0.5037 MB / 0.8248 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01599, allocations: 28.88 kB / 0.8248 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.01604, allocations: 45.02 kB / 0.8249 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.01629, allocations: 246.4 kB / 0.8251 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.0163, allocations: 4.125 kB / 0.8251 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01631, allocations: 8.125 kB / 0.8251 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01632, allocations: 8 kB / 0.8251 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.01641, allocations: 71.33 kB / 0.8252 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.01767, allocations: 1.528 MB / 0.8267 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.01811, allocations: 237.3 kB / 0.8269 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.01816, allocations: 39.67 kB / 0.827 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.01817, allocations: 5.094 kB / 0.827 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.01819, allocations: 45.38 kB / 0.827 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.0182, allocations: 0 / 0.827 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004114/0.01861, allocations: 224.4 kB / 0.8272 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01863, allocations: 52.12 kB / 0.8273 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.01923, allocations: 0.8114 MB / 0.8281 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.01925, allocations: 35.36 kB / 0.8281 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/0.01987, allocations: 411.4 kB / 0.8285 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.01992, allocations: 79.34 kB / 0.8286 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.02005, allocations: 155.9 kB / 0.8287 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.02024, allocations: 0.6059 MB / 0.8293 GB, free: 268 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.0203, allocations: 38.59 kB / 0.8293 GB, free: 232 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.02054, allocations: 457.2 kB / 0.8298 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.02088, allocations: 0.5408 MB / 0.8303 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.02089, allocations: 4 kB / 0.8303 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004646/0.02135, allocations: 448.2 kB / 0.8307 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02137, allocations: 11.98 kB / 0.8307 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.02138, allocations: 8.812 kB / 0.8308 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.02154, allocations: 47.61 kB / 0.8308 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.02177, allocations: 119.8 kB / 0.8309 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.02256, allocations: 1.74 MB / 0.8326 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.02284, allocations: 63.69 kB / 0.8327 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.02286, allocations: 27.98 kB / 0.8327 GB, free: 12.31 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.0001304/0.02299, allocations: 196.3 kB / 0.8329 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.02306, allocations: 75.52 kB / 0.833 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.02311, allocations: 53.86 kB / 0.833 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.02311, allocations: 4 kB / 0.833 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02312, allocations: 0 / 0.833 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02312, allocations: 3.984 kB / 0.833 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.02346, allocations: 364.8 kB / 0.8334 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02346, allocations: 4 kB / 0.8334 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.02358, allocations: 35.97 kB / 0.8334 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.02369, allocations: 23.67 kB / 0.8334 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.02371, allocations: 11.98 kB / 0.8334 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.02486, allocations: 1.725 MB / 0.8351 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02486, allocations: 0 / 0.8351 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.02516, allocations: 379.2 kB / 0.8355 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.02528, allocations: 99.47 kB / 0.8356 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.02533, allocations: 11.98 kB / 0.8356 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.02548, allocations: 11.94 kB / 0.8356 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.02552, allocations: 11.97 kB / 0.8356 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.02552, allocations: 4 kB / 0.8356 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003076/0.02583, allocations: 458.9 kB / 0.8361 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02583, allocations: 0 / 0.8361 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004107/0.02624, allocations: 183.8 kB / 0.8362 GB, free: 8.516 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.0001169/0.02636, allocations: 107.2 kB / 0.8363 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.02676, allocations: 396.2 kB / 0.8367 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.02676, allocations: 0 / 0.8367 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.0269, allocations: 231.6 kB / 0.8369 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.02739, allocations: 159.1 kB / 0.8371 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.02888, allocations: 1.15 MB / 0.8382 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.02901, allocations: 197.2 kB / 0.8384 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.02917, allocations: 68.59 kB / 0.8385 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.02942, allocations: 206.1 kB / 0.8387 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of SimCode: time 1.323e-06/0.02942, allocations: 0 / 0.8387 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of Templates: time 0.0118/0.04123, allocations: 9.49 MB / 0.8479 GB, free: 12.65 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.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.425609483849257]