Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001001/0.001001, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.581/1.581, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008181/0.000818, allocations: 99.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.24e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9188/1.219, allocations: 161.9 MB / 1.37 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.219, allocations: 76.47 kB / 1.371 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0889/1.308, allocations: 28.47 MB / 1.398 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.958e-06/1.308, allocations: 0 / 1.398 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.197e-05/1.308, allocations: 19.94 kB / 1.398 GB, free: 26.4 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.001222/1.31, allocations: 0.8244 MB / 1.399 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.31, allocations: 8.031 kB / 1.399 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/1.31, allocations: 81.5 kB / 1.399 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/1.312, allocations: 1.222 MB / 1.4 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/1.312, allocations: 26.31 kB / 1.4 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/1.312, allocations: 42.95 kB / 1.4 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/1.312, allocations: 359.2 kB / 1.401 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.313, allocations: 3.938 kB / 1.401 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/1.313, allocations: 10.62 kB / 1.401 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.313, allocations: 4 kB / 1.401 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/1.313, allocations: 223.6 kB / 1.401 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/1.315, allocations: 2.088 MB / 1.403 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/1.316, allocations: 391.6 kB / 1.403 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/1.316, allocations: 127.5 kB / 1.404 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/1.316, allocations: 4 kB / 1.404 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/1.316, allocations: 34.44 kB / 1.404 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.635e-06/1.316, allocations: 4 kB / 1.404 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000624/1.317, allocations: 330.4 kB / 1.404 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.317, allocations: 59.28 kB / 1.404 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.318, allocations: 0.9024 MB / 1.405 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/1.318, allocations: 36.64 kB / 1.405 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.318, allocations: 298.7 kB / 1.405 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/1.318, allocations: 65.58 kB / 1.405 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/1.319, allocations: 10.75 kB / 1.405 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.319, allocations: 382.3 kB / 1.406 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/1.319, allocations: 230.8 kB / 1.406 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/1.319, allocations: 495.9 kB / 1.406 GB, free: 19.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/1.32, allocations: 292.3 kB / 1.407 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.32, allocations: 8 kB / 1.407 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009151/1.321, allocations: 0.782 MB / 1.407 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.321, allocations: 13.23 kB / 1.407 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.321, allocations: 16.06 kB / 1.407 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/1.321, allocations: 52.33 kB / 1.407 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/1.321, allocations: 139.5 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/1.322, allocations: 1.436 MB / 1.409 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/1.323, allocations: 201.8 kB / 1.409 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.323, allocations: 27.88 kB / 1.409 GB, free: 16.56 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.0001124/1.323, allocations: 147.3 kB / 1.409 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/1.324, allocations: 59.16 kB / 1.409 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/1.324, allocations: 68.84 kB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.324, allocations: 0 / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.324, allocations: 0 / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.324, allocations: 0 / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/1.324, allocations: 0.6668 MB / 1.41 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.324, allocations: 3.953 kB / 1.41 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/1.325, allocations: 54.66 kB / 1.41 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/1.325, allocations: 43 kB / 1.41 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.325, allocations: 7.25 kB / 1.41 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009168/1.326, allocations: 1.423 MB / 1.412 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.326, allocations: 4.031 kB / 1.412 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/1.326, allocations: 0.5604 MB / 1.412 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/1.327, allocations: 346.3 kB / 1.413 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/1.327, allocations: 16.02 kB / 1.413 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/1.328, allocations: 87.75 kB / 1.413 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/1.328, allocations: 11.61 kB / 1.413 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.328, allocations: 4.125 kB / 1.413 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009057/1.329, allocations: 0.6863 MB / 1.413 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.329, allocations: 0 / 1.413 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007358/1.329, allocations: 193.9 kB / 1.413 GB, free: 12.59 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.0003128/1.33, allocations: 191.1 kB / 1.414 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008642/1.33, allocations: 0.5476 MB / 1.414 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/1.33, allocations: 0.6875 kB / 1.414 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/1.331, allocations: 251 kB / 1.414 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/1.332, allocations: 169.3 kB / 1.415 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/1.333, allocations: 1.224 MB / 1.416 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/1.334, allocations: 1.02 MB / 1.417 GB, free: 9.488 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004535/1.335, allocations: 184.4 kB / 1.417 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.335, allocations: 43.42 kB / 1.417 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.335, allocations: 0 / 1.417 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of Templates: time 0.01725/1.352, allocations: 9.449 MB / 1.426 GB, free: 15.95 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches