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.475/1.475, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.001236/0.001236, allocations: 166.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.519/1.519, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0007625/0.0007625, allocations: 96.02 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.964e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1908, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7408/0.9316, allocations: 141.4 MB / 1.03 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.932, allocations: 80.83 kB / 1.03 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1023/1.034, allocations: 28.69 MB / 1.058 GB, free: 436 kB / 0.6667 GB Notification: Performance of FrontEnd: time 1.222e-06/1.034, allocations: 3.938 kB / 1.058 GB, free: 432 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.007e-05/1.034, allocations: 24 kB / 1.058 GB, free: 408 kB / 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.002189/1.037, allocations: 1.187 MB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.037, allocations: 8.031 kB / 1.059 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/1.037, allocations: 137.6 kB / 1.059 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/1.04, allocations: 1.536 MB / 1.061 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/1.04, allocations: 40.69 kB / 1.061 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.04, allocations: 74.05 kB / 1.061 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.041, allocations: 0.6435 MB / 1.061 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.041, allocations: 3.984 kB / 1.061 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/1.041, allocations: 16.31 kB / 1.061 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.041, allocations: 12 kB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/1.042, allocations: 0.6131 MB / 1.062 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/1.046, allocations: 2.759 MB / 1.065 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/1.048, allocations: 0.9048 MB / 1.066 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/1.048, allocations: 379.6 kB / 1.066 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/1.048, allocations: 32.2 kB / 1.066 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.048, allocations: 38.19 kB / 1.066 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/1.048, allocations: 0 / 1.066 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001407/1.05, allocations: 0.8677 MB / 1.067 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.05, allocations: 59.41 kB / 1.067 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/1.051, allocations: 1.034 MB / 1.068 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/1.051, allocations: 39.7 kB / 1.068 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/1.052, allocations: 468.2 kB / 1.069 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.052, allocations: 168.4 kB / 1.069 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/1.052, allocations: 20.81 kB / 1.069 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.052, allocations: 351.5 kB / 1.069 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/1.053, allocations: 0.5317 MB / 1.07 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/1.054, allocations: 0.8595 MB / 1.07 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/1.055, allocations: 0.6411 MB / 1.071 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.055, allocations: 4 kB / 1.071 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002333/1.057, allocations: 1.57 MB / 1.073 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.057, allocations: 8 kB / 1.073 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.057, allocations: 15.94 kB / 1.073 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/1.057, allocations: 44.2 kB / 1.073 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.059, allocations: 371.3 kB / 1.073 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/1.063, allocations: 6.825 MB / 1.08 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.065, allocations: 151.8 kB / 1.08 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.065, allocations: 58.94 kB / 1.08 GB, free: 12.85 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 () * 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.0002233/1.066, allocations: 162.7 kB / 1.08 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/1.066, allocations: 114.5 kB / 1.08 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/1.068, allocations: 1.002 MB / 1.081 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.068, allocations: 4 kB / 1.081 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.068, allocations: 0 / 1.081 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.068, allocations: 0 / 1.081 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.069, allocations: 0.964 MB / 1.082 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.069, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/1.07, allocations: 123.2 kB / 1.082 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/1.07, allocations: 28.61 kB / 1.082 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/1.07, allocations: 22.55 kB / 1.082 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/1.071, allocations: 1.327 MB / 1.083 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.071, allocations: 0 / 1.083 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.073, allocations: 1.503 MB / 1.085 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/1.073, allocations: 371.7 kB / 1.085 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.074, allocations: 18.55 kB / 1.085 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/1.074, allocations: 47.42 kB / 1.085 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/1.075, allocations: 39.58 kB / 1.085 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/1.075, allocations: 39.48 kB / 1.085 GB, free: 7.801 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001046/1.076, allocations: 0.7635 MB / 1.086 GB, free: 7.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.076, allocations: 0 / 1.086 GB, free: 7.227 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001351/1.077, allocations: 377.5 kB / 1.087 GB, free: 6.879 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.0005988/1.078, allocations: 301.1 kB / 1.087 GB, free: 6.586 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.08, allocations: 1.499 MB / 1.088 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.08, allocations: 1.875 kB / 1.088 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/1.081, allocations: 470.5 kB / 1.089 GB, free: 4.621 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/1.081, allocations: 212 kB / 1.089 GB, free: 4.418 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/1.085, allocations: 2.129 MB / 1.091 GB, free: 2.262 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/1.086, allocations: 1.118 MB / 1.092 GB, free: 1.117 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006259/1.086, allocations: 211.3 kB / 1.092 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.087, allocations: 71.42 kB / 1.092 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/1.087, allocations: 0 / 1.092 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Templates: time 0.0275/1.114, allocations: 14.75 MB / 1.107 GB, free: 2.219 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