Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001382/0.001382, allocations: 186.8 kB / 326.5 MB, free: 2.23 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.895/1.895, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008376/0.0008376, allocations: 92.08 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002997, allocations: 8.188 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2004, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.3786, allocations: 141.4 MB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.3789, allocations: 83.95 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5404/0.9194, allocations: 28.67 MB / 1.066 GB, free: 143.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9194, allocations: 0 / 1.066 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001535/0.9196, allocations: 28.41 kB / 1.066 GB, free: 143.9 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.006435/0.926, allocations: 1.563 MB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9261, allocations: 11.58 kB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9271, allocations: 135.4 kB / 1.068 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005051/0.9322, allocations: 1.547 MB / 1.069 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.9323, allocations: 45.88 kB / 1.07 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.9325, allocations: 64.5 kB / 1.07 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.934, allocations: 0.6595 MB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.934, allocations: 3.594 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.9341, allocations: 18.22 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.9341, allocations: 10.38 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.9353, allocations: 0.6363 MB / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.9404, allocations: 2.754 MB / 1.074 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.942, allocations: 0.9263 MB / 1.074 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.9421, allocations: 25.83 kB / 1.075 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.9421, allocations: 37.22 kB / 1.075 GB, free: 141.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.9421, allocations: 0 / 1.075 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002202/0.9443, allocations: 1.301 MB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.9444, allocations: 57.41 kB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.9461, allocations: 1.048 MB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.9462, allocations: 39.02 kB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.9466, allocations: 477 kB / 1.077 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.9467, allocations: 171.4 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.9468, allocations: 15.22 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.9469, allocations: 354.9 kB / 1.078 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007697/0.9477, allocations: 0.5463 MB / 1.078 GB, free: 140.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.9487, allocations: 0.8682 MB / 1.079 GB, free: 140 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009701/0.9497, allocations: 0.6508 MB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9497, allocations: 4.219 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002417/0.9521, allocations: 1.6 MB / 1.081 GB, free: 139.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.9521, allocations: 16.25 kB / 1.081 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.9522, allocations: 12.91 kB / 1.082 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.9524, allocations: 47.95 kB / 1.082 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.954, allocations: 368.8 kB / 1.082 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.9577, allocations: 6.835 MB / 1.089 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.959, allocations: 154.1 kB / 1.089 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.9592, allocations: 64.34 kB / 1.089 GB, free: 133.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0004907/0.9597, allocations: 301 kB / 1.089 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.9599, allocations: 111.7 kB / 1.089 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.9615, allocations: 1.023 MB / 1.09 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9615, allocations: 7.125 kB / 1.09 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9615, allocations: 4.609 kB / 1.09 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.9615, allocations: 3.844 kB / 1.09 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.9628, allocations: 0.9571 MB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.9628, allocations: 2.188 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.9633, allocations: 125.5 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.97e-05/0.9634, allocations: 31.17 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.9635, allocations: 22.41 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006207/0.9641, allocations: 1.335 MB / 1.093 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9641, allocations: 3.953 kB / 1.093 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.9657, allocations: 1.522 MB / 1.094 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.9663, allocations: 367.2 kB / 1.094 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.9664, allocations: 27.34 kB / 1.094 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.9672, allocations: 55.91 kB / 1.095 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.9673, allocations: 30.59 kB / 1.095 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.9673, allocations: 41.39 kB / 1.095 GB, free: 131.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008119/0.9681, allocations: 0.7788 MB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9681, allocations: 0 / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001132/0.9693, allocations: 374.2 kB / 1.096 GB, free: 131.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.0004323/0.9697, allocations: 279 kB / 1.096 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.9715, allocations: 1.525 MB / 1.097 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9715, allocations: 0 / 1.097 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.972, allocations: 493 kB / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.9727, allocations: 214.6 kB / 1.098 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.9756, allocations: 2.968 MB / 1.101 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.976, allocations: 1.117 MB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004806/0.9765, allocations: 209.1 kB / 1.102 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.9767, allocations: 73.17 kB / 1.102 GB, free: 126.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.9767, allocations: 0 / 1.102 GB, free: 126.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01879/0.9955, allocations: 14.28 MB / 1.116 GB, free: 113.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches