Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001382/0.001382, allocations: 178.1 kB / 498.1 MB, free: 5.688 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.649/1.649, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001069/0.001069, allocations: 101 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.5735, allocations: 159 MB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5738, allocations: 83.95 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1005/0.6742, allocations: 28.98 MB / 1.406 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6743, allocations: 0 / 1.406 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.977e-05/0.6744, allocations: 23.98 kB / 1.406 GB, free: 5.82 MB / 0.9011 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.004429/0.6788, allocations: 1.566 MB / 1.408 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6789, allocations: 16.03 kB / 1.408 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.6792, allocations: 142.2 kB / 1.408 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.683, allocations: 1.545 MB / 1.41 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.6831, allocations: 45 kB / 1.41 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6832, allocations: 63.95 kB / 1.41 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6844, allocations: 0.6644 MB / 1.41 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6844, allocations: 0 / 1.41 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.6845, allocations: 19.98 kB / 1.41 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.6845, allocations: 12 kB / 1.41 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.6854, allocations: 0.6283 MB / 1.411 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.69, allocations: 2.758 MB / 1.414 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6916, allocations: 0.9267 MB / 1.415 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.326e-05/0.6917, allocations: 20.36 kB / 1.415 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6917, allocations: 34.94 kB / 1.415 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.6917, allocations: 0 / 1.415 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45): time 0.002163/0.6939, allocations: 1.305 MB / 1.416 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.694, allocations: 59.34 kB / 1.416 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.6954, allocations: 1.049 MB / 1.417 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.6955, allocations: 41.7 kB / 1.417 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.6958, allocations: 460.8 kB / 1.418 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.6961, allocations: 177.4 kB / 1.418 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.6961, allocations: 16 kB / 1.418 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6963, allocations: 353.9 kB / 1.418 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/0.6971, allocations: 0.5449 MB / 1.419 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.6981, allocations: 0.8693 MB / 1.419 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/0.699, allocations: 0.6506 MB / 1.42 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.699, allocations: 0 / 1.42 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002383/0.7014, allocations: 1.603 MB / 1.422 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.7015, allocations: 8 kB / 1.422 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/0.7015, allocations: 12 kB / 1.422 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.7017, allocations: 52.83 kB / 1.422 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.7033, allocations: 367.8 kB / 1.422 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7622/1.466, allocations: 6.825 MB / 1.429 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/1.468, allocations: 155.6 kB / 1.429 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.469, allocations: 59.22 kB / 1.429 GB, free: 181.6 MB / 0.9167 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.0009656/1.47, allocations: 308.6 kB / 1.429 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/1.47, allocations: 116.8 kB / 1.429 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/1.473, allocations: 1.019 MB / 1.43 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.473, allocations: 8.359 kB / 1.43 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.473, allocations: 5.188 kB / 1.43 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.473, allocations: 2.297 kB / 1.43 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/1.476, allocations: 0.9557 MB / 1.431 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.476, allocations: 0.7969 kB / 1.431 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/1.477, allocations: 126.2 kB / 1.431 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/1.477, allocations: 30.67 kB / 1.431 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/1.477, allocations: 22.73 kB / 1.431 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/1.479, allocations: 1.348 MB / 1.433 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.479, allocations: 4.578 kB / 1.433 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/1.482, allocations: 1.519 MB / 1.434 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/1.483, allocations: 362.9 kB / 1.435 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.483, allocations: 15.98 kB / 1.435 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/1.484, allocations: 54.53 kB / 1.435 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.484, allocations: 39.52 kB / 1.435 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/1.484, allocations: 36.02 kB / 1.435 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001455/1.486, allocations: 0.7754 MB / 1.436 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.61e-07/1.486, allocations: 1.125 kB / 1.436 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001603/1.487, allocations: 385.4 kB / 1.436 GB, free: 179.4 MB / 0.9167 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.0006472/1.488, allocations: 279.1 kB / 1.436 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002901/1.491, allocations: 1.531 MB / 1.438 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.491, allocations: 0 / 1.438 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/1.491, allocations: 477.1 kB / 1.438 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.493, allocations: 216 kB / 1.438 GB, free: 179 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/1.497, allocations: 2.963 MB / 1.441 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/1.498, allocations: 1.13 MB / 1.442 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008297/1.499, allocations: 207.3 kB / 1.443 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/1.499, allocations: 67.61 kB / 1.443 GB, free: 177 MB / 0.9167 GB Notification: Performance of SimCode: time 1.362e-06/1.499, allocations: 0 / 1.443 GB, free: 177 MB / 0.9167 GB Notification: Performance of Templates: time 0.03445/1.534, allocations: 14.28 MB / 1.457 GB, free: 176.3 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches