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.203/2.203, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001104/0.001104, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.571/1.571, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009097/0.0009098, allocations: 94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.6e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.351, allocations: 158.9 MB / 1.368 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/1.351, allocations: 77.86 kB / 1.368 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1021/1.453, allocations: 28.98 MB / 1.396 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.374e-06/1.453, allocations: 0 / 1.396 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000207/1.453, allocations: 19.28 kB / 1.396 GB, free: 26.58 MB / 0.8386 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.003617/1.457, allocations: 1.199 MB / 1.397 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.457, allocations: 11.62 kB / 1.397 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/1.458, allocations: 132.1 kB / 1.397 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/1.463, allocations: 1.547 MB / 1.399 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/1.463, allocations: 41.84 kB / 1.399 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/1.463, allocations: 61.53 kB / 1.399 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/1.464, allocations: 0.6483 MB / 1.4 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.464, allocations: 4 kB / 1.4 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/1.464, allocations: 27.06 kB / 1.4 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.464, allocations: 8 kB / 1.4 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/1.465, allocations: 0.6106 MB / 1.4 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/1.47, allocations: 2.756 MB / 1.403 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/1.472, allocations: 0.9041 MB / 1.404 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/1.472, allocations: 389.2 kB / 1.404 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.265e-05/1.472, allocations: 23.36 kB / 1.404 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.472, allocations: 34.31 kB / 1.404 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.226e-06/1.472, allocations: 11.94 kB / 1.404 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001543/1.474, allocations: 0.8691 MB / 1.405 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.474, allocations: 55.41 kB / 1.405 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/1.476, allocations: 1.034 MB / 1.406 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/1.476, allocations: 35.14 kB / 1.406 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/1.476, allocations: 465.6 kB / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.476, allocations: 178.3 kB / 1.407 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/1.476, allocations: 18 kB / 1.407 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.476, allocations: 351.6 kB / 1.407 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/1.477, allocations: 0.5332 MB / 1.408 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/1.478, allocations: 0.8595 MB / 1.408 GB, free: 17.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/1.479, allocations: 0.6361 MB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/1.479, allocations: 0 / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002246/1.481, allocations: 1.572 MB / 1.411 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.481, allocations: 8 kB / 1.411 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/1.481, allocations: 12.81 kB / 1.411 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/1.481, allocations: 47.97 kB / 1.411 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.483, allocations: 371.2 kB / 1.411 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/1.489, allocations: 6.817 MB / 1.418 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.492, allocations: 159.9 kB / 1.418 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/1.492, allocations: 62.98 kB / 1.418 GB, free: 8.121 MB / 0.8386 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.0003226/1.492, allocations: 157.9 kB / 1.418 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/1.493, allocations: 106.6 kB / 1.418 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.495, allocations: 1.009 MB / 1.419 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.495, allocations: 7.984 kB / 1.419 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.495, allocations: 4 kB / 1.419 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.495, allocations: 0 / 1.419 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/1.497, allocations: 0.9538 MB / 1.42 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/1.497, allocations: 4 kB / 1.42 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/1.498, allocations: 126.1 kB / 1.42 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.498, allocations: 32.22 kB / 1.42 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/1.498, allocations: 22.73 kB / 1.42 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/1.499, allocations: 1.338 MB / 1.422 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.499, allocations: 0 / 1.422 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.501, allocations: 1.49 MB / 1.423 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008118/1.502, allocations: 379.1 kB / 1.423 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.502, allocations: 14.11 kB / 1.423 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.504, allocations: 54.52 kB / 1.423 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.504, allocations: 31.33 kB / 1.423 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.504, allocations: 35.11 kB / 1.423 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001491/1.505, allocations: 0.7611 MB / 1.424 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.505, allocations: 0 / 1.424 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00171/1.507, allocations: 381.9 kB / 1.425 GB, free: 2.156 MB / 0.8386 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.0008121/1.508, allocations: 290.7 kB / 1.425 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002587/1.51, allocations: 1.502 MB / 1.426 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.51, allocations: 0.75 kB / 1.426 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/1.511, allocations: 476.9 kB / 1.427 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.512, allocations: 207.2 kB / 1.427 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/1.516, allocations: 2.108 MB / 1.429 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/1.517, allocations: 1.125 MB / 1.43 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007744/1.518, allocations: 207.3 kB / 1.43 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/1.518, allocations: 63.44 kB / 1.43 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of SimCode: time 2.945e-06/1.518, allocations: 0 / 1.43 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.02949/1.548, allocations: 14.77 MB / 1.445 GB, free: 14.29 MB / 0.8698 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