Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.635/2.635, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001417/0.001417, allocations: 180.4 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001424/0.001424, allocations: 111.6 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003491, allocations: 11.31 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.4994, allocations: 162.7 MB / 1.388 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4997, allocations: 79.97 kB / 1.388 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09877/0.5985, allocations: 28.47 MB / 1.416 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5986, allocations: 0 / 1.416 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001382/0.5988, allocations: 19.98 kB / 1.416 GB, free: 10.13 MB / 0.9167 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.003962/0.6027, allocations: 1.184 MB / 1.417 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.6028, allocations: 12.56 kB / 1.417 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.6034, allocations: 75.06 kB / 1.417 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.6067, allocations: 1.261 MB / 1.418 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.6067, allocations: 32.52 kB / 1.419 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6069, allocations: 36 kB / 1.419 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.6076, allocations: 374.7 kB / 1.419 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6076, allocations: 0 / 1.419 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.6076, allocations: 12 kB / 1.419 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.6077, allocations: 4 kB / 1.419 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.6081, allocations: 237.5 kB / 1.419 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.6115, allocations: 2.086 MB / 1.421 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6125, allocations: 398.5 kB / 1.422 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.6126, allocations: 7.984 kB / 1.422 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6126, allocations: 34.52 kB / 1.422 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.6126, allocations: 0 / 1.422 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001121/0.6137, allocations: 0.5476 MB / 1.422 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.6138, allocations: 55.41 kB / 1.422 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.6153, allocations: 0.9056 MB / 1.423 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.6154, allocations: 33.7 kB / 1.423 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.6156, allocations: 308.3 kB / 1.423 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.6158, allocations: 71.03 kB / 1.423 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.6158, allocations: 8 kB / 1.423 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.616, allocations: 382.8 kB / 1.424 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.6164, allocations: 236.9 kB / 1.424 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.6169, allocations: 0.4934 MB / 1.425 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.6174, allocations: 308.9 kB / 1.425 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.6174, allocations: 0 / 1.425 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.7109/1.328, allocations: 0.8031 MB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/1.328, allocations: 8.25 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.328, allocations: 9.531 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/1.329, allocations: 55.8 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.329, allocations: 139.2 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/1.331, allocations: 1.454 MB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.332, allocations: 192 kB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/1.332, allocations: 26.16 kB / 1.427 GB, free: 179.5 MB / 0.9167 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 (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.0004837/1.333, allocations: 350.4 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.333, allocations: 58.94 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/1.333, allocations: 70.44 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.333, allocations: 2.25 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/1.333, allocations: 0 / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.333, allocations: 7.156 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/1.334, allocations: 0.6646 MB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.334, allocations: 3.953 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/1.334, allocations: 49.84 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/1.334, allocations: 43.89 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/1.334, allocations: 9.484 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008954/1.335, allocations: 1.428 MB / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.335, allocations: 4.266 kB / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/1.336, allocations: 0.5733 MB / 1.431 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/1.336, allocations: 350.8 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/1.337, allocations: 8.062 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/1.337, allocations: 90.92 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/1.337, allocations: 10.81 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.337, allocations: 3.656 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001195/1.338, allocations: 0.6985 MB / 1.432 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.338, allocations: 6.703 kB / 1.432 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008865/1.339, allocations: 190.2 kB / 1.432 GB, free: 177.3 MB / 0.9167 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 (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.0003483/1.34, allocations: 177.4 kB / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.341, allocations: 0.574 MB / 1.433 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.341, allocations: 0 / 1.433 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/1.341, allocations: 254.9 kB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/1.342, allocations: 165.4 kB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/1.345, allocations: 1.771 MB / 1.435 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/1.346, allocations: 1.031 MB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005885/1.346, allocations: 178.6 kB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.346, allocations: 37.55 kB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of SimCode: time 2.144e-06/1.346, allocations: 4 kB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.02252/1.369, allocations: 9.039 MB / 1.445 GB, free: 175.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches