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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.82 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.001069/0.001069, allocations: 171.5 kB / 316.3 MB, free: 3.234 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.906/1.906, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001117/0.001117, allocations: 96.33 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.865e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.934/6.204, allocations: 2.212 GB / 3.097 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/6.204, allocations: 91.17 kB / 3.097 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.78/10.98, allocations: 1.229 GB / 4.326 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/10.98, allocations: 0 / 4.326 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001267/10.98, allocations: 42.95 kB / 4.326 GB, free: 124.4 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.004942/10.99, allocations: 1.825 MB / 4.328 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/10.99, allocations: 11.45 kB / 4.328 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/10.99, allocations: 370.8 kB / 4.328 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/11, allocations: 1.133 MB / 4.329 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/11, allocations: 47.25 kB / 4.329 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/11, allocations: 83.36 kB / 4.33 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002493/11, allocations: 1.108 MB / 4.331 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/11, allocations: 1.324 MB / 4.332 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/11, allocations: 2.875 kB / 4.332 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/11, allocations: 0 / 4.332 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.734e-05/11, allocations: 60.75 kB / 4.332 GB, free: 123.2 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008854/11.01, allocations: 6.254 MB / 4.338 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/11.01, allocations: 0.7121 MB / 4.339 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/11.01, allocations: 389.2 kB / 4.339 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/11.01, allocations: 409.9 kB / 4.34 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/11.01, allocations: 43.31 kB / 4.34 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.158e-06/11.01, allocations: 3.656 kB / 4.34 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002415/11.01, allocations: 0.9971 MB / 4.341 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/11.01, allocations: 55.94 kB / 4.341 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/11.02, allocations: 0.7264 MB / 4.341 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/11.02, allocations: 25.7 kB / 4.341 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/11.02, allocations: 0.7107 MB / 4.342 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/11.02, allocations: 261.2 kB / 4.342 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/11.02, allocations: 3.094 kB / 4.342 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001025/11.02, allocations: 345.3 kB / 4.343 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/11.02, allocations: 304.1 kB / 4.343 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/11.02, allocations: 0.673 MB / 4.344 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/11.02, allocations: 0.5438 MB / 4.344 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/11.02, allocations: 3.906 kB / 4.344 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002029/11.02, allocations: 1.221 MB / 4.345 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/11.02, allocations: 10 kB / 4.345 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/11.02, allocations: 9.562 kB / 4.345 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/11.02, allocations: 147.2 kB / 4.345 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/11.02, allocations: 196.2 kB / 4.346 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/11.03, allocations: 4.62 MB / 4.35 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/11.03, allocations: 121.5 kB / 4.35 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/11.03, allocations: 45.19 kB / 4.35 GB, free: 113.9 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.00023/11.03, allocations: 135 kB / 4.35 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/11.03, allocations: 116.7 kB / 4.351 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/11.03, allocations: 1.057 MB / 4.352 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/11.03, allocations: 7.406 kB / 4.352 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/11.03, allocations: 0 / 4.352 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/11.03, allocations: 0.9699 MB / 4.353 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/11.03, allocations: 2.275 MB / 4.355 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/11.03, allocations: 7.453 kB / 4.355 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/11.03, allocations: 129.5 kB / 4.355 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/11.04, allocations: 132.6 kB / 4.355 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/11.04, allocations: 13.16 kB / 4.355 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/11.04, allocations: 4.596 MB / 4.36 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/11.04, allocations: 4.719 kB / 4.36 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/11.04, allocations: 1.637 MB / 4.361 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/11.04, allocations: 290.1 kB / 4.361 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/11.04, allocations: 9.906 kB / 4.361 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/11.04, allocations: 57.8 kB / 4.361 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/11.04, allocations: 62.64 kB / 4.362 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/11.04, allocations: 31.02 kB / 4.362 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008475/11.04, allocations: 0.5596 MB / 4.362 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/11.04, allocations: 1.656 kB / 4.362 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002653/11.05, allocations: 0.6048 MB / 4.363 GB, free: 108.3 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.003793/11.05, allocations: 2.674 MB / 4.365 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001717/11.05, allocations: 1.1 MB / 4.366 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/11.05, allocations: 1.781 kB / 4.366 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/11.05, allocations: 0.6848 MB / 4.367 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/11.05, allocations: 0.5832 MB / 4.368 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/11.06, allocations: 2.047 MB / 4.37 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/11.06, allocations: 1.376 MB / 4.371 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001241/11.06, allocations: 296.4 kB / 4.371 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/11.06, allocations: 94.97 kB / 4.371 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/11.06, allocations: 3.781 kB / 4.371 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.05646/11.12, allocations: 35.02 MB / 4.406 GB, free: 104 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