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.499/1.499, allocations: 249.5 MB / 257 MB, free: 6.957 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.001081/0.001081, allocations: 180.9 kB / 316.3 MB, free: 3.254 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.544/1.544, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008438/0.0008438, allocations: 91.23 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.869e-05, allocations: 4 kB / 0.7813 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6957/0.8881, allocations: 141.6 MB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.8884, allocations: 79.2 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.9893, allocations: 28.19 MB / 1.051 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9894, allocations: 3.938 kB / 1.051 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.807e-05/0.9894, allocations: 28 kB / 1.051 GB, free: 4.621 MB / 0.6667 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.002272/0.9917, allocations: 1.185 MB / 1.052 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9918, allocations: 8.031 kB / 1.052 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.9921, allocations: 138.3 kB / 1.052 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.9953, allocations: 1.544 MB / 1.054 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.9953, allocations: 12 kB / 1.054 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.9954, allocations: 47.56 kB / 1.054 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008513/0.9963, allocations: 0.5769 MB / 1.055 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.9972, allocations: 0.5999 MB / 1.055 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.9972, allocations: 8 kB / 1.055 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.9972, allocations: 0 / 1.055 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.9973, allocations: 11.94 kB / 1.055 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/1.001, allocations: 2.669 MB / 1.058 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.003, allocations: 0.8799 MB / 1.059 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/1.003, allocations: 379.5 kB / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/1.003, allocations: 20.36 kB / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.003, allocations: 46.67 kB / 1.059 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/1.003, allocations: 0 / 1.059 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001425/1.005, allocations: 0.8461 MB / 1.06 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.005, allocations: 55.41 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.006, allocations: 0.9778 MB / 1.061 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/1.006, allocations: 25.7 kB / 1.061 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/1.006, allocations: 461 kB / 1.061 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.007, allocations: 167.1 kB / 1.062 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/1.007, allocations: 7.938 kB / 1.062 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.007, allocations: 351.4 kB / 1.062 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/1.007, allocations: 0.5136 MB / 1.062 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/1.008, allocations: 0.8349 MB / 1.063 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.009, allocations: 0.7159 MB / 1.064 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.009, allocations: 11.98 kB / 1.064 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002393/1.012, allocations: 1.566 MB / 1.065 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.012, allocations: 8 kB / 1.065 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.012, allocations: 15.95 kB / 1.065 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/1.012, allocations: 48.7 kB / 1.066 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.014, allocations: 358.8 kB / 1.066 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/1.018, allocations: 6.897 MB / 1.073 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.02, allocations: 134.6 kB / 1.073 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.02, allocations: 62.8 kB / 1.073 GB, free: 1.277 MB / 0.6823 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 () * 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.0002164/1.02, allocations: 135.1 kB / 1.073 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.02, allocations: 118.5 kB / 1.073 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/1.022, allocations: 0.9659 MB / 1.074 GB, free: 280 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.022, allocations: 7.984 kB / 1.074 GB, free: 272 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.022, allocations: 0 / 1.074 GB, free: 272 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.022, allocations: 0 / 1.074 GB, free: 272 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/1.023, allocations: 0.8962 MB / 1.075 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.023, allocations: 0 / 1.075 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/1.024, allocations: 126.8 kB / 1.075 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/1.024, allocations: 36.08 kB / 1.075 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/1.024, allocations: 19.48 kB / 1.075 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009226/1.025, allocations: 1.296 MB / 1.076 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.025, allocations: 3.953 kB / 1.076 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.027, allocations: 1.463 MB / 1.078 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/1.027, allocations: 375.3 kB / 1.078 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.027, allocations: 11.64 kB / 1.078 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/1.028, allocations: 43.97 kB / 1.078 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/1.028, allocations: 39.33 kB / 1.078 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/1.028, allocations: 34.86 kB / 1.078 GB, free: 12.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008341/1.029, allocations: 0.701 MB / 1.079 GB, free: 11.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 0 / 1.079 GB, free: 11.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001166/1.03, allocations: 359.3 kB / 1.079 GB, free: 11.53 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 () * 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.0005092/1.031, allocations: 293.6 kB / 1.079 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.033, allocations: 1.456 MB / 1.081 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.033, allocations: 4.438 kB / 1.081 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/1.033, allocations: 454.7 kB / 1.081 GB, free: 9.781 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/1.034, allocations: 195 kB / 1.082 GB, free: 9.641 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.037, allocations: 2.108 MB / 1.084 GB, free: 7.645 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.038, allocations: 1.117 MB / 1.085 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005671/1.038, allocations: 211.2 kB / 1.085 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.039, allocations: 70.67 kB / 1.085 GB, free: 6.246 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.039, allocations: 0 / 1.085 GB, free: 6.246 MB / 0.698 GB Notification: Performance of Templates: time 0.02303/1.062, allocations: 12.34 MB / 1.097 GB, free: 10.09 MB / 0.7136 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