Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.755/1.755, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 95.95 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.276e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3069, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.335, allocations: 162.7 MB / 1.378 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.335, allocations: 80.73 kB / 1.378 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.09462/1.43, allocations: 28.49 MB / 1.406 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.801e-06/1.43, allocations: 0 / 1.406 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001103/1.43, allocations: 27.86 kB / 1.406 GB, free: 14.72 MB / 0.8698 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.00198/1.432, allocations: 0.8247 MB / 1.406 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.432, allocations: 8.031 kB / 1.406 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/1.433, allocations: 78.59 kB / 1.406 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/1.435, allocations: 1.23 MB / 1.408 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/1.435, allocations: 33.39 kB / 1.408 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.435, allocations: 41.23 kB / 1.408 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/1.436, allocations: 355.3 kB / 1.408 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.436, allocations: 7.938 kB / 1.408 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.436, allocations: 6.438 kB / 1.408 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.436, allocations: 8 kB / 1.408 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/1.436, allocations: 218.4 kB / 1.408 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/1.44, allocations: 2.084 MB / 1.41 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009771/1.441, allocations: 386.6 kB / 1.411 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.441, allocations: 129.9 kB / 1.411 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/1.441, allocations: 4 kB / 1.411 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.441, allocations: 38.5 kB / 1.411 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/1.441, allocations: 3.938 kB / 1.411 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0007698/1.442, allocations: 334.3 kB / 1.411 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.442, allocations: 51.41 kB / 1.411 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.443, allocations: 0.9082 MB / 1.412 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/1.443, allocations: 32.33 kB / 1.412 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/1.444, allocations: 301.2 kB / 1.412 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.444, allocations: 72.73 kB / 1.412 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/1.444, allocations: 11.19 kB / 1.413 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.444, allocations: 376.9 kB / 1.413 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/1.445, allocations: 227.8 kB / 1.413 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/1.445, allocations: 495.2 kB / 1.414 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/1.446, allocations: 297.8 kB / 1.414 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.446, allocations: 4 kB / 1.414 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001516/1.447, allocations: 0.7794 MB / 1.415 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.447, allocations: 12 kB / 1.415 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.447, allocations: 8.812 kB / 1.415 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/1.448, allocations: 54.64 kB / 1.415 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/1.448, allocations: 143.7 kB / 1.415 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/1.45, allocations: 1.441 MB / 1.416 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.451, allocations: 194.7 kB / 1.416 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/1.451, allocations: 27.69 kB / 1.416 GB, free: 4.848 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.451, allocations: 147.3 kB / 1.417 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.451, allocations: 63.16 kB / 1.417 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/1.452, allocations: 71.28 kB / 1.417 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.452, allocations: 7.938 kB / 1.417 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.452, allocations: 0 / 1.417 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.452, allocations: 3.984 kB / 1.417 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.453, allocations: 0.662 MB / 1.417 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.453, allocations: 0 / 1.417 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.453, allocations: 51.89 kB / 1.417 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/1.453, allocations: 43.45 kB / 1.417 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/1.453, allocations: 11.36 kB / 1.417 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/1.454, allocations: 1.419 MB / 1.419 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.455, allocations: 0 / 1.419 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/1.455, allocations: 0.5484 MB / 1.419 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/1.456, allocations: 353.7 kB / 1.42 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.456, allocations: 11.38 kB / 1.42 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/1.457, allocations: 83.94 kB / 1.42 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/1.457, allocations: 19.22 kB / 1.42 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.457, allocations: 7.984 kB / 1.42 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009998/1.458, allocations: 0.6828 MB / 1.421 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.458, allocations: 0 / 1.421 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007935/1.459, allocations: 197.7 kB / 1.421 GB, free: 0.8633 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/1.459, allocations: 180.4 kB / 1.421 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008789/1.46, allocations: 0.558 MB / 1.421 GB, free: 220 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.46, allocations: 0 / 1.421 GB, free: 220 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/1.46, allocations: 239.4 kB / 1.422 GB, free: 4 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/1.461, allocations: 169.5 kB / 1.422 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.463, allocations: 1.236 MB / 1.423 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/1.464, allocations: 1.02 MB / 1.424 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004701/1.464, allocations: 184.4 kB / 1.424 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/1.464, allocations: 35.44 kB / 1.424 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/1.464, allocations: 7.938 kB / 1.424 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.01753/1.482, allocations: 9.446 MB / 1.433 GB, free: 4.191 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches