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.208/2.208, allocations: 390.5 MB / 398 MB, free: 10.92 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.001232/0.001232, allocations: 172.9 kB / 491.2 MB, free: 1.59 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.444/1.444, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001017/0.001017, allocations: 95.56 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.646e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8816/1.143, allocations: 162 MB / 1.37 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.143, allocations: 75.8 kB / 1.371 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08251/1.225, allocations: 27.82 MB / 1.398 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.225, allocations: 3.875 kB / 1.398 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.119e-05/1.226, allocations: 19.5 kB / 1.398 GB, free: 25.34 MB / 0.8386 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.001447/1.227, allocations: 0.8211 MB / 1.399 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.227, allocations: 7.688 kB / 1.399 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/1.227, allocations: 77.41 kB / 1.399 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/1.23, allocations: 1.22 MB / 1.4 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.23, allocations: 11.7 kB / 1.4 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/1.23, allocations: 31.23 kB / 1.4 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004131/1.23, allocations: 200.8 kB / 1.4 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/1.231, allocations: 324 kB / 1.4 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.231, allocations: 0 / 1.4 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/1.231, allocations: 0 / 1.4 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.231, allocations: 7.781 kB / 1.4 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/1.234, allocations: 2.015 MB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.235, allocations: 386.2 kB / 1.403 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.235, allocations: 129.5 kB / 1.403 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/1.235, allocations: 0 / 1.403 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/1.236, allocations: 38.5 kB / 1.403 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/1.236, allocations: 4 kB / 1.403 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007075/1.236, allocations: 324.8 kB / 1.403 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/1.236, allocations: 55.41 kB / 1.403 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.238, allocations: 0.8571 MB / 1.404 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.238, allocations: 25.7 kB / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/1.238, allocations: 296.7 kB / 1.404 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/1.238, allocations: 74.58 kB / 1.404 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/1.238, allocations: 0 / 1.404 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.238, allocations: 376.1 kB / 1.405 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/1.239, allocations: 212.7 kB / 1.405 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/1.239, allocations: 479.4 kB / 1.405 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/1.24, allocations: 286.1 kB / 1.406 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.24, allocations: 4 kB / 1.406 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00122/1.241, allocations: 0.7179 MB / 1.406 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.241, allocations: 8 kB / 1.406 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.241, allocations: 12 kB / 1.406 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/1.241, allocations: 52.39 kB / 1.407 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/1.242, allocations: 143.9 kB / 1.407 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.243, allocations: 1.419 MB / 1.408 GB, free: 17.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.244, allocations: 187.3 kB / 1.408 GB, free: 17.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/1.244, allocations: 27.44 kB / 1.408 GB, free: 17.23 MB / 0.8386 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.0001618/1.245, allocations: 128.1 kB / 1.408 GB, free: 17.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.245, allocations: 67.11 kB / 1.408 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/1.245, allocations: 64.2 kB / 1.408 GB, free: 17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.245, allocations: 4 kB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.245, allocations: 4 kB / 1.409 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.245, allocations: 3.984 kB / 1.409 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/1.246, allocations: 0.6149 MB / 1.409 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.246, allocations: 0 / 1.409 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/1.246, allocations: 51.84 kB / 1.409 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/1.246, allocations: 40.69 kB / 1.409 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/1.246, allocations: 11.58 kB / 1.409 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.248, allocations: 1.412 MB / 1.411 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.248, allocations: 0 / 1.411 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/1.248, allocations: 0.5366 MB / 1.411 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/1.249, allocations: 358.2 kB / 1.411 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.249, allocations: 11.94 kB / 1.411 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/1.25, allocations: 79.84 kB / 1.412 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/1.25, allocations: 15.92 kB / 1.412 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/1.25, allocations: 11.88 kB / 1.412 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00103/1.251, allocations: 0.6475 MB / 1.412 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.251, allocations: 0 / 1.412 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00111/1.252, allocations: 187.8 kB / 1.412 GB, free: 13.39 MB / 0.8386 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.0003592/1.252, allocations: 171.3 kB / 1.413 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.253, allocations: 0.5137 MB / 1.413 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.253, allocations: 4.188 kB / 1.413 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/1.254, allocations: 229.4 kB / 1.413 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/1.255, allocations: 150.3 kB / 1.413 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/1.257, allocations: 1.232 MB / 1.415 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/1.258, allocations: 1.024 MB / 1.416 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006459/1.259, allocations: 184.4 kB / 1.416 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/1.259, allocations: 39.42 kB / 1.416 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.259, allocations: 0 / 1.416 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.01957/1.279, allocations: 7.196 MB / 1.423 GB, free: 3.059 MB / 0.8386 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