Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.282/2.282, allocations: 390.5 MB / 398 MB, free: 10.93 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.001186/0.001186, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.493/1.493, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.0009296/0.0009292, allocations: 94.08 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.633e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9689/1.224, allocations: 162 MB / 1.371 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.225, allocations: 76.48 kB / 1.371 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08495/1.31, allocations: 27.84 MB / 1.398 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.31, allocations: 3.938 kB / 1.398 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001019/1.31, allocations: 19.22 kB / 1.398 GB, free: 25.29 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.001205/1.311, allocations: 0.8298 MB / 1.399 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.311, allocations: 7.656 kB / 1.399 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/1.311, allocations: 77.59 kB / 1.399 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/1.313, allocations: 1.223 MB / 1.4 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.313, allocations: 15.39 kB / 1.4 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/1.313, allocations: 26.41 kB / 1.4 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003019/1.314, allocations: 196.1 kB / 1.4 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/1.314, allocations: 331.4 kB / 1.4 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.314, allocations: 0 / 1.4 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/1.314, allocations: 3.781 kB / 1.4 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.314, allocations: 3.906 kB / 1.4 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/1.316, allocations: 2.023 MB / 1.402 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/1.317, allocations: 378 kB / 1.403 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/1.317, allocations: 123.9 kB / 1.403 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/1.317, allocations: 0 / 1.403 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/1.317, allocations: 41.98 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/1.317, allocations: 3.938 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005395/1.318, allocations: 324.2 kB / 1.403 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/1.318, allocations: 55.41 kB / 1.403 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/1.319, allocations: 0.8644 MB / 1.404 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.319, allocations: 25.7 kB / 1.404 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/1.319, allocations: 288 kB / 1.404 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/1.319, allocations: 76.25 kB / 1.405 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/1.319, allocations: 0 / 1.405 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.319, allocations: 377.6 kB / 1.405 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.319, allocations: 213.9 kB / 1.405 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/1.32, allocations: 482.8 kB / 1.406 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/1.32, allocations: 281.8 kB / 1.406 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.32, allocations: 4 kB / 1.406 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000813/1.321, allocations: 0.722 MB / 1.407 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.321, allocations: 8 kB / 1.407 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.321, allocations: 12 kB / 1.407 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/1.321, allocations: 51.95 kB / 1.407 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/1.322, allocations: 142.8 kB / 1.407 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009954/1.323, allocations: 1.416 MB / 1.408 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/1.323, allocations: 187.3 kB / 1.408 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.323, allocations: 31 kB / 1.408 GB, free: 16.91 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.0001014/1.324, allocations: 129.4 kB / 1.408 GB, free: 16.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/1.324, allocations: 67.11 kB / 1.409 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.324, allocations: 62.64 kB / 1.409 GB, free: 16.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.324, allocations: 4 kB / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.324, allocations: 0 / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.324, allocations: 3.984 kB / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/1.324, allocations: 0.6148 MB / 1.409 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.324, allocations: 4 kB / 1.409 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.325, allocations: 58.89 kB / 1.409 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.325, allocations: 38.2 kB / 1.409 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/1.325, allocations: 15.62 kB / 1.409 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008927/1.326, allocations: 1.399 MB / 1.411 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.326, allocations: 0 / 1.411 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/1.326, allocations: 0.5372 MB / 1.411 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/1.327, allocations: 347.3 kB / 1.412 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/1.327, allocations: 11.89 kB / 1.412 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/1.327, allocations: 83.84 kB / 1.412 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/1.327, allocations: 15.22 kB / 1.412 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/1.327, allocations: 4 kB / 1.412 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006877/1.328, allocations: 0.6456 MB / 1.412 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.328, allocations: 4 kB / 1.412 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007049/1.329, allocations: 187.8 kB / 1.412 GB, free: 13.07 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.0002599/1.329, allocations: 171.4 kB / 1.413 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007816/1.33, allocations: 0.5193 MB / 1.413 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.33, allocations: 0 / 1.413 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.33, allocations: 225.4 kB / 1.413 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/1.331, allocations: 159.4 kB / 1.413 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.333, allocations: 1.227 MB / 1.415 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/1.333, allocations: 1.025 MB / 1.416 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005615/1.334, allocations: 184.4 kB / 1.416 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/1.334, allocations: 35.44 kB / 1.416 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of SimCode: time 7.92e-07/1.334, allocations: 0 / 1.416 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of Templates: time 0.01699/1.351, allocations: 7.217 MB / 1.423 GB, free: 2.727 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches