Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 177.3 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008643/0.0008644, allocations: 94.3 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003831, allocations: 11.98 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2331, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.4225, allocations: 144.4 MB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4228, allocations: 75.97 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5746/0.9975, allocations: 28.16 MB / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9976, allocations: 0 / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001564/0.9977, allocations: 16.09 kB / 1.069 GB, free: 146.1 MB / 0.698 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.00432/1.002, allocations: 1.196 MB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.002, allocations: 9.031 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/1.003, allocations: 76.95 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/1.006, allocations: 1.258 MB / 1.071 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/1.006, allocations: 32.81 kB / 1.071 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/1.007, allocations: 42.41 kB / 1.071 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/1.008, allocations: 367.7 kB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.008, allocations: 0 / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/1.008, allocations: 14.17 kB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.008, allocations: 14.05 kB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/1.008, allocations: 233 kB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/1.012, allocations: 2.086 MB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.013, allocations: 402.5 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/1.013, allocations: 2.094 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/1.013, allocations: 38.5 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/1.013, allocations: 3.938 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001085/1.014, allocations: 0.5309 MB / 1.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.014, allocations: 61.58 kB / 1.075 GB, free: 143.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.016, allocations: 0.9205 MB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/1.016, allocations: 34.86 kB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.016, allocations: 297.8 kB / 1.076 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/1.016, allocations: 74.72 kB / 1.076 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.016, allocations: 10.22 kB / 1.076 GB, free: 143.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.016, allocations: 377.8 kB / 1.077 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/1.017, allocations: 232.8 kB / 1.077 GB, free: 143.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/1.017, allocations: 0.491 MB / 1.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/1.018, allocations: 311.3 kB / 1.078 GB, free: 142.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.018, allocations: 2.125 kB / 1.078 GB, free: 142.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001252/1.019, allocations: 0.8016 MB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.019, allocations: 9 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.019, allocations: 9.719 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/1.019, allocations: 53.66 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/1.02, allocations: 144.4 kB / 1.079 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/1.02, allocations: 1.446 MB / 1.08 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.022, allocations: 205 kB / 1.08 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/1.022, allocations: 28 kB / 1.08 GB, free: 141.3 MB / 0.698 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.0004028/1.022, allocations: 332.4 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.022, allocations: 62.05 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/1.022, allocations: 68.22 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.022, allocations: 8.203 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.022, allocations: 5.438 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.022, allocations: 0 / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/1.023, allocations: 0.6698 MB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.023, allocations: 0 / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/1.023, allocations: 54.08 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/1.023, allocations: 39.08 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.024, allocations: 9.781 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/1.024, allocations: 1.433 MB / 1.083 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.024, allocations: 2.969 kB / 1.083 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/1.025, allocations: 0.57 MB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/1.026, allocations: 349.5 kB / 1.084 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/1.026, allocations: 18.97 kB / 1.084 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/1.026, allocations: 95.91 kB / 1.084 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/1.026, allocations: 12.5 kB / 1.084 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.026, allocations: 6.719 kB / 1.084 GB, free: 139.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009347/1.027, allocations: 0.6961 MB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.027, allocations: 1.438 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007506/1.028, allocations: 196.6 kB / 1.085 GB, free: 139 MB / 0.698 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.0002819/1.028, allocations: 166.5 kB / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009483/1.029, allocations: 0.5717 MB / 1.085 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.029, allocations: 0.6875 kB / 1.085 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/1.03, allocations: 253.3 kB / 1.086 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/1.03, allocations: 155.1 kB / 1.086 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.033, allocations: 1.785 MB / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/1.034, allocations: 1.026 MB / 1.089 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003935/1.034, allocations: 191.3 kB / 1.089 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.034, allocations: 34.78 kB / 1.089 GB, free: 136.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.034, allocations: 0 / 1.089 GB, free: 136.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01255/1.047, allocations: 9.042 MB / 1.098 GB, free: 132.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches