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.033/2.033, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009595/0.0009598, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.318/1.318, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008336/0.0008336, allocations: 95.89 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.418e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2046, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7163/0.9209, allocations: 158.2 MB / 1.36 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.9212, allocations: 75.88 kB / 1.361 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08871/1.01, allocations: 28.49 MB / 1.388 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/1.01, allocations: 0 / 1.388 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001182/1.01, allocations: 26.03 kB / 1.388 GB, free: 27.33 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.00223/1.012, allocations: 1.196 MB / 1.39 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/1.012, allocations: 7.688 kB / 1.39 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/1.013, allocations: 136 kB / 1.39 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/1.016, allocations: 1.543 MB / 1.391 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.016, allocations: 11.66 kB / 1.391 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.016, allocations: 38.94 kB / 1.391 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000702/1.017, allocations: 0.595 MB / 1.392 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/1.017, allocations: 0.5868 MB / 1.392 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.017, allocations: 0 / 1.392 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.017, allocations: 11.66 kB / 1.392 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/1.017, allocations: 11.61 kB / 1.392 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/1.021, allocations: 2.651 MB / 1.395 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.022, allocations: 0.8933 MB / 1.396 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/1.022, allocations: 378.1 kB / 1.396 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/1.022, allocations: 19.83 kB / 1.396 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/1.022, allocations: 37.91 kB / 1.396 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/1.022, allocations: 0 / 1.396 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001136/1.023, allocations: 0.8581 MB / 1.397 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/1.023, allocations: 55.38 kB / 1.397 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009852/1.024, allocations: 0.9724 MB / 1.398 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/1.025, allocations: 25.7 kB / 1.398 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/1.025, allocations: 460.1 kB / 1.399 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.025, allocations: 174.3 kB / 1.399 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/1.025, allocations: 0 / 1.399 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.025, allocations: 345.3 kB / 1.399 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/1.026, allocations: 0.5223 MB / 1.4 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/1.026, allocations: 0.8339 MB / 1.4 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.027, allocations: 0.7178 MB / 1.401 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.027, allocations: 3.844 kB / 1.401 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001959/1.029, allocations: 1.571 MB / 1.403 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.029, allocations: 15.48 kB / 1.403 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.029, allocations: 15.58 kB / 1.403 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/1.029, allocations: 42.66 kB / 1.403 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.031, allocations: 360.3 kB / 1.403 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/1.034, allocations: 6.901 MB / 1.41 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.036, allocations: 144.9 kB / 1.41 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.036, allocations: 64.25 kB / 1.41 GB, free: 14.88 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.0002513/1.036, allocations: 140 kB / 1.41 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/1.037, allocations: 108.7 kB / 1.41 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/1.038, allocations: 0.9708 MB / 1.411 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.038, allocations: 3.562 kB / 1.411 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.038, allocations: 3.844 kB / 1.411 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.038, allocations: 3.984 kB / 1.411 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.039, allocations: 0.8809 MB / 1.412 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.039, allocations: 0 / 1.412 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/1.04, allocations: 120.8 kB / 1.412 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/1.04, allocations: 39.03 kB / 1.412 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/1.04, allocations: 15.98 kB / 1.412 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007696/1.041, allocations: 1.306 MB / 1.414 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.041, allocations: 3.953 kB / 1.414 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/1.043, allocations: 1.466 MB / 1.415 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/1.043, allocations: 367.6 kB / 1.415 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.043, allocations: 15.5 kB / 1.415 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/1.044, allocations: 43.94 kB / 1.415 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/1.044, allocations: 34.39 kB / 1.415 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/1.044, allocations: 35.23 kB / 1.415 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007766/1.045, allocations: 0.7045 MB / 1.416 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.045, allocations: 0 / 1.416 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001115/1.046, allocations: 353.9 kB / 1.416 GB, free: 9.949 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.0005283/1.047, allocations: 287.5 kB / 1.417 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.048, allocations: 1.456 MB / 1.418 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.048, allocations: 0 / 1.418 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/1.049, allocations: 455.3 kB / 1.419 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/1.05, allocations: 206.2 kB / 1.419 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/1.053, allocations: 2.095 MB / 1.421 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/1.053, allocations: 1.12 MB / 1.422 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005933/1.054, allocations: 211.3 kB / 1.422 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.054, allocations: 66.88 kB / 1.422 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.054, allocations: 0 / 1.422 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of Templates: time 0.02101/1.075, allocations: 12.34 MB / 1.434 GB, free: 8.559 MB / 0.8542 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