Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.3 MB / 261.8 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 176.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008716/0.0008717, allocations: 102.4 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.297e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8476/1.082, allocations: 144.3 MB / 1.033 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.082, allocations: 85.38 kB / 1.033 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09412/1.176, allocations: 28.18 MB / 1.06 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.373e-06/1.176, allocations: 0 / 1.06 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.925e-05/1.176, allocations: 12 kB / 1.06 GB, free: 14.07 MB / 0.6823 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.001367/1.177, allocations: 0.8228 MB / 1.061 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.178, allocations: 8.031 kB / 1.061 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/1.178, allocations: 75.16 kB / 1.061 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/1.18, allocations: 1.226 MB / 1.062 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.18, allocations: 26.88 kB / 1.062 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/1.18, allocations: 45.7 kB / 1.062 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/1.181, allocations: 363.1 kB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.181, allocations: 4 kB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/1.181, allocations: 6.625 kB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.181, allocations: 8 kB / 1.063 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/1.181, allocations: 212.8 kB / 1.063 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/1.184, allocations: 2.093 MB / 1.065 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/1.185, allocations: 390.9 kB / 1.065 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/1.185, allocations: 132 kB / 1.066 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.185, allocations: 4 kB / 1.066 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.185, allocations: 33.75 kB / 1.066 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/1.185, allocations: 0 / 1.066 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006323/1.186, allocations: 338.3 kB / 1.066 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.186, allocations: 55.41 kB / 1.066 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.187, allocations: 0.901 MB / 1.067 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/1.187, allocations: 40.08 kB / 1.067 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/1.187, allocations: 297.9 kB / 1.067 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/1.187, allocations: 69.69 kB / 1.067 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/1.187, allocations: 10.69 kB / 1.067 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.188, allocations: 376.4 kB / 1.068 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/1.188, allocations: 226.5 kB / 1.068 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/1.189, allocations: 492.3 kB / 1.068 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/1.189, allocations: 302.3 kB / 1.069 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.189, allocations: 4 kB / 1.069 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/1.19, allocations: 0.7911 MB / 1.069 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.19, allocations: 12 kB / 1.069 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.19, allocations: 8 kB / 1.069 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/1.19, allocations: 56.39 kB / 1.069 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.191, allocations: 139 kB / 1.07 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/1.193, allocations: 1.432 MB / 1.071 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.194, allocations: 198.2 kB / 1.071 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.194, allocations: 27.81 kB / 1.071 GB, free: 4.199 MB / 0.6823 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.0001397/1.194, allocations: 140.8 kB / 1.071 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.194, allocations: 63.2 kB / 1.071 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/1.194, allocations: 72.94 kB / 1.071 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.194, allocations: 0 / 1.071 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.194, allocations: 4 kB / 1.071 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.194, allocations: 0 / 1.071 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/1.195, allocations: 0.6686 MB / 1.072 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.195, allocations: 0 / 1.072 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/1.195, allocations: 55.47 kB / 1.072 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/1.195, allocations: 44.08 kB / 1.072 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/1.195, allocations: 7.5 kB / 1.072 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/1.197, allocations: 1.416 MB / 1.074 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.197, allocations: 3.938 kB / 1.074 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/1.197, allocations: 0.5491 MB / 1.074 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/1.198, allocations: 362.3 kB / 1.074 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/1.198, allocations: 7.812 kB / 1.075 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/1.199, allocations: 83.94 kB / 1.075 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/1.199, allocations: 15.42 kB / 1.075 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.199, allocations: 4 kB / 1.075 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009102/1.2, allocations: 0.6835 MB / 1.075 GB, free: 420 kB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/1.2, allocations: 0 / 1.075 GB, free: 420 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007734/1.2, allocations: 197.6 kB / 1.075 GB, free: 236 kB / 0.6823 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.0003614/1.201, allocations: 188.2 kB / 1.076 GB, free: 40 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008939/1.202, allocations: 0.5443 MB / 1.076 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.202, allocations: 0 / 1.076 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.202, allocations: 242.2 kB / 1.076 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/1.203, allocations: 171 kB / 1.077 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.205, allocations: 1.24 MB / 1.078 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/1.205, allocations: 1.027 MB / 1.079 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004284/1.206, allocations: 180.5 kB / 1.079 GB, free: 12.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.206, allocations: 39.42 kB / 1.079 GB, free: 12.88 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.206, allocations: 0 / 1.079 GB, free: 12.88 MB / 0.698 GB Notification: Performance of Templates: time 0.01676/1.223, allocations: 9.45 MB / 1.088 GB, free: 3.535 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches