Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 198.3 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5806, allocations: 140.3 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003268/0.5839, allocations: 2.791 MB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.587, allocations: 2.806 MB / 0.955 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.5872, allocations: 9 kB / 0.955 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.5885, allocations: 451.9 kB / 0.9555 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.589, allocations: 250 kB / 0.9557 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.5897, allocations: 332.5 kB / 0.956 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.5911, allocations: 1.718 MB / 0.9577 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.5913, allocations: 122.3 kB / 0.9578 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.5919, allocations: 420.4 kB / 0.9582 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.5924, allocations: 395.7 kB / 0.9586 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.5925, allocations: 23.38 kB / 0.9586 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.5926, allocations: 24.59 kB / 0.9586 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.5928, allocations: 234.9 kB / 0.9589 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.5931, allocations: 333.5 kB / 0.9592 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.5936, allocations: 0.739 MB / 0.9599 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5936, allocations: 0 / 0.9599 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5936, allocations: 0 / 0.9599 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5937, allocations: 1.25 kB / 0.9599 GB, free: 1.98 MB / 0.7169 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.001858/0.5955, allocations: 1.143 MB / 0.961 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5956, allocations: 8.781 kB / 0.961 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.5957, allocations: 81.44 kB / 0.9611 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.5965, allocations: 0.6432 MB / 0.9617 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.5965, allocations: 26.59 kB / 0.9618 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.5966, allocations: 43.25 kB / 0.9618 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.5971, allocations: 379 kB / 0.9622 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5971, allocations: 4.922 kB / 0.9622 GB, free: 304 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.5972, allocations: 10.97 kB / 0.9622 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5972, allocations: 5.094 kB / 0.9622 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.5976, allocations: 236.2 kB / 0.9624 GB, free: 184 kB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.6012, allocations: 2.451 MB / 0.9648 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.6023, allocations: 399.2 kB / 0.9652 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.6025, allocations: 141.4 kB / 0.9653 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6026, allocations: 6.094 kB / 0.9653 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.6026, allocations: 31.31 kB / 0.9654 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.6026, allocations: 0.7188 kB / 0.9654 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.6037, allocations: 0.5301 MB / 0.9659 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.6037, allocations: 57.59 kB / 0.9659 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.605, allocations: 0.942 MB / 0.9668 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.605, allocations: 35.52 kB / 0.9669 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.6053, allocations: 300.4 kB / 0.9672 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.6054, allocations: 72.67 kB / 0.9672 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.6056, allocations: 122.7 kB / 0.9674 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6057, allocations: 380.1 kB / 0.9677 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.6061, allocations: 240.5 kB / 0.9679 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.6066, allocations: 0.5037 MB / 0.9684 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.6074, allocations: 0.7017 MB / 0.9691 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.6074, allocations: 3 kB / 0.9691 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001298/0.6088, allocations: 0.813 MB / 0.9699 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6088, allocations: 12.81 kB / 0.9699 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6088, allocations: 9.469 kB / 0.9699 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.609, allocations: 56.22 kB / 0.97 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.6095, allocations: 138.4 kB / 0.9701 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.6107, allocations: 1.443 MB / 0.9715 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.6115, allocations: 127.9 kB / 0.9717 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.6116, allocations: 31.52 kB / 0.9717 GB, free: 8.887 MB / 0.7325 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.0004202/0.612, allocations: 336.8 kB / 0.972 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.6121, allocations: 65.58 kB / 0.9721 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.6122, allocations: 67.81 kB / 0.9721 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6122, allocations: 5.594 kB / 0.9721 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6122, allocations: 1.094 kB / 0.9721 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6122, allocations: 7.938 kB / 0.9722 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.6129, allocations: 0.5788 MB / 0.9727 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.6129, allocations: 1.25 kB / 0.9727 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.6132, allocations: 42.94 kB / 0.9728 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.6133, allocations: 47.47 kB / 0.9728 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.6134, allocations: 7.75 kB / 0.9728 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.6145, allocations: 1.416 MB / 0.9742 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6145, allocations: 1.219 kB / 0.9742 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.6153, allocations: 0.5701 MB / 0.9748 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.6156, allocations: 196.5 kB / 0.9749 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.6157, allocations: 11.92 kB / 0.975 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.6161, allocations: 47.33 kB / 0.975 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.6162, allocations: 8.609 kB / 0.975 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.6162, allocations: 3.438 kB / 0.975 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009635/0.6172, allocations: 0.6685 MB / 0.9757 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6172, allocations: 0 / 0.9757 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007362/0.618, allocations: 182.8 kB / 0.9758 GB, free: 5.66 MB / 0.7325 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.0001272/0.6181, allocations: 115.9 kB / 0.9759 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009579/0.6191, allocations: 0.575 MB / 0.9765 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6191, allocations: 0.9062 kB / 0.9765 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.6194, allocations: 254.7 kB / 0.9768 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009368/0.6204, allocations: 157.8 kB / 0.9769 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.623, allocations: 1.731 MB / 0.9786 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.6236, allocations: 1.01 MB / 0.9796 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.6238, allocations: 35.44 kB / 0.9796 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.6238, allocations: 0 / 0.9796 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of Templates: time 0.01716/0.641, allocations: 12.26 MB / 0.9916 GB, free: 6.016 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches