Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.455/2.455, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001733/0.001732, allocations: 186.9 kB / 0.4902 GB, free: 2.234 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.778/1.778, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0008324/0.0008325, allocations: 96.31 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004361, allocations: 13.17 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3249, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.5524, allocations: 159.8 MB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5527, allocations: 79.97 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1066/0.6594, allocations: 28.99 MB / 1.414 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6594, allocations: 0 / 1.414 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.696e-05/0.6595, allocations: 27.98 kB / 1.414 GB, free: 12.48 MB / 0.9167 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.00453/0.664, allocations: 1.558 MB / 1.415 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6641, allocations: 8.562 kB / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.6645, allocations: 134.4 kB / 1.415 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.6685, allocations: 1.549 MB / 1.417 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.6686, allocations: 41 kB / 1.417 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6687, allocations: 75.84 kB / 1.417 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6698, allocations: 0.6605 MB / 1.418 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6699, allocations: 0 / 1.418 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.6699, allocations: 16 kB / 1.418 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6699, allocations: 12 kB / 1.418 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009631/0.6709, allocations: 0.6361 MB / 1.418 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.6754, allocations: 2.754 MB / 1.421 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.6771, allocations: 0.9225 MB / 1.422 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.6772, allocations: 24.36 kB / 1.422 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.6772, allocations: 42.92 kB / 1.422 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.6772, allocations: 0 / 1.422 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45): time 0.002176/0.6794, allocations: 1.304 MB / 1.423 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.6795, allocations: 55.41 kB / 1.423 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.6809, allocations: 1.049 MB / 1.424 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.681, allocations: 41.7 kB / 1.424 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.6814, allocations: 464.7 kB / 1.425 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.6816, allocations: 165.6 kB / 1.425 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.6817, allocations: 16 kB / 1.425 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6818, allocations: 357.9 kB / 1.425 GB, free: 280 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7289/1.411, allocations: 0.5436 MB / 1.426 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.412, allocations: 0.8731 MB / 1.427 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/1.413, allocations: 0.6461 MB / 1.427 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.413, allocations: 6.031 kB / 1.427 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002543/1.415, allocations: 1.606 MB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.415, allocations: 10.06 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.415, allocations: 11.09 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/1.416, allocations: 48.3 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.417, allocations: 371.8 kB / 1.429 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/1.422, allocations: 6.824 MB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.424, allocations: 153.8 kB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.424, allocations: 64.47 kB / 1.436 GB, free: 169.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.0006511/1.424, allocations: 307.4 kB / 1.436 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/1.425, allocations: 112.8 kB / 1.436 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.427, allocations: 1.023 MB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.427, allocations: 6.75 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.427, allocations: 2.172 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.427, allocations: 3.938 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.428, allocations: 0.963 MB / 1.438 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.428, allocations: 0.5 kB / 1.438 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/1.429, allocations: 126.1 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/1.429, allocations: 33.66 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/1.429, allocations: 21.67 kB / 1.439 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/1.43, allocations: 1.344 MB / 1.44 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.43, allocations: 0 / 1.44 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.432, allocations: 1.519 MB / 1.441 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/1.433, allocations: 374.5 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.433, allocations: 15.14 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/1.434, allocations: 56.02 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.434, allocations: 36.02 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/1.434, allocations: 34.86 kB / 1.442 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001287/1.435, allocations: 0.7847 MB / 1.443 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.1e-07/1.435, allocations: 0 / 1.443 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001659/1.437, allocations: 369.8 kB / 1.443 GB, free: 167.3 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.0005727/1.438, allocations: 282.5 kB / 1.443 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00268/1.44, allocations: 1.532 MB / 1.445 GB, free: 167 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.44, allocations: 4.812 kB / 1.445 GB, free: 167 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/1.441, allocations: 474.5 kB / 1.445 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/1.442, allocations: 214 kB / 1.445 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/1.446, allocations: 2.97 MB / 1.448 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/1.447, allocations: 1.129 MB / 1.449 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006678/1.448, allocations: 210 kB / 1.45 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.448, allocations: 64.55 kB / 1.45 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.163e-06/1.448, allocations: 0 / 1.45 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.03535/1.483, allocations: 14.29 MB / 1.464 GB, free: 164.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches