Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.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.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.0009477/0.0009474, allocations: 181.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0009011/0.0009012, allocations: 94.14 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.334e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1631, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.632/3.795, allocations: 2.212 GB / 3.096 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/3.795, allocations: 87.83 kB / 3.096 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.332/7.127, allocations: 1.244 GB / 4.34 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.575e-05/7.127, allocations: 42.47 kB / 4.34 GB, free: 125.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.00293/7.13, allocations: 1.818 MB / 4.342 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/7.13, allocations: 7.344 kB / 4.342 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/7.132, allocations: 395.8 kB / 4.342 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/7.134, allocations: 1.148 MB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/7.134, allocations: 40.31 kB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/7.134, allocations: 87.91 kB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/7.136, allocations: 1.144 MB / 4.345 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/7.138, allocations: 1.349 MB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/7.138, allocations: 3.469 kB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/7.138, allocations: 3.875 kB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/7.138, allocations: 47.42 kB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/7.144, allocations: 6.411 MB / 4.352 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/7.144, allocations: 0.6043 MB / 4.353 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/7.145, allocations: 403.4 kB / 4.353 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/7.145, allocations: 414.5 kB / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/7.145, allocations: 47.52 kB / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/7.145, allocations: 0 / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002129/7.147, allocations: 1.045 MB / 4.355 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/7.147, allocations: 57.19 kB / 4.355 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/7.148, allocations: 0.7394 MB / 4.356 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/7.148, allocations: 29.58 kB / 4.356 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/7.148, allocations: 0.5499 MB / 4.356 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/7.149, allocations: 257.8 kB / 4.356 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/7.149, allocations: 0 / 4.356 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/7.149, allocations: 343.1 kB / 4.357 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/7.149, allocations: 326.7 kB / 4.357 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/7.15, allocations: 0.6799 MB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/7.151, allocations: 0.5731 MB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/7.151, allocations: 3.938 kB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00179/7.152, allocations: 1.261 MB / 4.359 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/7.152, allocations: 13.67 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.152, allocations: 10.41 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/7.153, allocations: 149.1 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/7.154, allocations: 195.6 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/7.156, allocations: 4.546 MB / 4.364 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/7.157, allocations: 123.5 kB / 4.364 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/7.157, allocations: 48.97 kB / 4.364 GB, free: 115.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/7.157, allocations: 135 kB / 4.365 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/7.158, allocations: 116.7 kB / 4.365 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/7.159, allocations: 1.104 MB / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/7.159, allocations: 3.875 kB / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/7.159, allocations: 3.625 kB / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/7.16, allocations: 1.003 MB / 4.367 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/7.164, allocations: 2.31 MB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.164, allocations: 3.719 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/7.164, allocations: 132.5 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/7.165, allocations: 134.6 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/7.165, allocations: 11.47 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/7.167, allocations: 4.536 MB / 4.374 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/7.167, allocations: 6.656 kB / 4.374 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002382/7.17, allocations: 1.692 MB / 4.375 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006256/7.17, allocations: 293.6 kB / 4.376 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/7.171, allocations: 7.844 kB / 4.376 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/7.171, allocations: 56.39 kB / 4.376 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/7.172, allocations: 46.69 kB / 4.376 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/7.172, allocations: 29.3 kB / 4.376 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006873/7.172, allocations: 0.5675 MB / 4.376 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001971/7.174, allocations: 0.6121 MB / 4.377 GB, free: 109.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002611/7.177, allocations: 2.677 MB / 4.38 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001288/7.178, allocations: 1.102 MB / 4.381 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/7.178, allocations: 3.406 kB / 4.381 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000539/7.179, allocations: 0.6785 MB / 4.381 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/7.181, allocations: 0.5595 MB / 4.382 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/7.184, allocations: 2.058 MB / 4.384 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/7.185, allocations: 1.473 MB / 4.385 GB, free: 107 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/7.185, allocations: 0 / 4.385 GB, free: 107 MB / 0.8855 GB Notification: Performance of Templates: time 0.0476/7.233, allocations: 35.87 MB / 4.42 GB, free: 106.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches