Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 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.001355/0.001356, allocations: 180.3 kB / 491.2 MB, free: 1.574 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.892/1.892, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009197/0.0009198, allocations: 87.91 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 11.98 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3125, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.807/6.12, allocations: 1.939 GB / 3.151 GB, free: 390.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/6.12, allocations: 91.47 kB / 3.151 GB, free: 390.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.157/11.28, allocations: 1.286 GB / 4.437 GB, free: 207.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.996e-06/11.28, allocations: 0 / 4.437 GB, free: 207.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000251/11.28, allocations: 42.75 kB / 4.437 GB, free: 207.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.006495/11.28, allocations: 1.828 MB / 4.439 GB, free: 206.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/11.28, allocations: 11.19 kB / 4.439 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/11.29, allocations: 392 kB / 4.439 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/11.29, allocations: 1.147 MB / 4.44 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/11.29, allocations: 43.72 kB / 4.441 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/11.29, allocations: 84.36 kB / 4.441 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002368/11.29, allocations: 1.117 MB / 4.442 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/11.3, allocations: 1.315 MB / 4.443 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/11.3, allocations: 0 / 4.443 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/11.3, allocations: 10.08 kB / 4.443 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/11.3, allocations: 51.72 kB / 4.443 GB, free: 206.2 MB / 1.167 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.007738/11.3, allocations: 6.256 MB / 4.449 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/11.31, allocations: 0.8795 MB / 4.45 GB, free: 202.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/11.31, allocations: 432.6 kB / 4.45 GB, free: 202.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/11.31, allocations: 413.7 kB / 4.451 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/11.31, allocations: 44.8 kB / 4.451 GB, free: 202.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.514e-06/11.31, allocations: 0 / 4.451 GB, free: 202.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005695/11.31, allocations: 2.496 MB / 4.453 GB, free: 201.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/11.31, allocations: 64 kB / 4.453 GB, free: 201.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/11.31, allocations: 0.7145 MB / 4.454 GB, free: 201.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/11.31, allocations: 28.8 kB / 4.454 GB, free: 201.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/11.31, allocations: 0.6903 MB / 4.455 GB, free: 201.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/11.31, allocations: 293 kB / 4.455 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/11.31, allocations: 0 / 4.455 GB, free: 201.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/11.31, allocations: 345.8 kB / 4.455 GB, free: 201 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/11.32, allocations: 338.7 kB / 4.456 GB, free: 201 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/11.32, allocations: 0.6922 MB / 4.456 GB, free: 200.6 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/11.32, allocations: 1.148 MB / 4.457 GB, free: 200.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/11.32, allocations: 7.656 kB / 4.457 GB, free: 200.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002278/11.32, allocations: 1.293 MB / 4.459 GB, free: 200.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/11.32, allocations: 7.812 kB / 4.459 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/11.32, allocations: 7.812 kB / 4.459 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/11.32, allocations: 146.8 kB / 4.459 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/11.32, allocations: 201.4 kB / 4.459 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/11.33, allocations: 4.601 MB / 4.464 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/11.33, allocations: 94.16 kB / 4.464 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/11.33, allocations: 42.41 kB / 4.464 GB, free: 196.5 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0002499/11.33, allocations: 142.7 kB / 4.464 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/11.33, allocations: 118.2 kB / 4.464 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/11.33, allocations: 1.118 MB / 4.465 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/11.33, allocations: 7.125 kB / 4.465 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/11.33, allocations: 3.312 kB / 4.465 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/11.33, allocations: 1.125 MB / 4.466 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/11.34, allocations: 2.953 MB / 4.469 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/11.34, allocations: 3.875 kB / 4.469 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/11.34, allocations: 158 kB / 4.469 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/11.34, allocations: 139.4 kB / 4.469 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-05/11.34, allocations: 17.84 kB / 4.469 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/11.34, allocations: 4.586 MB / 4.474 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/11.34, allocations: 11.44 kB / 4.474 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/11.34, allocations: 2.035 MB / 4.476 GB, free: 190.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/11.35, allocations: 286.7 kB / 4.476 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/11.35, allocations: 17.7 kB / 4.476 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/11.35, allocations: 58.78 kB / 4.476 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/11.35, allocations: 80.28 kB / 4.476 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/11.35, allocations: 37.27 kB / 4.476 GB, free: 190.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007807/11.35, allocations: 0.5383 MB / 4.477 GB, free: 190.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/11.35, allocations: 0 / 4.477 GB, free: 190.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003031/11.35, allocations: 0.5247 MB / 4.477 GB, free: 190.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.004683/11.36, allocations: 2.685 MB / 4.48 GB, free: 189.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00218/11.36, allocations: 1.17 MB / 4.481 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/11.36, allocations: 2.844 kB / 4.481 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/11.36, allocations: 0.7303 MB / 4.482 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/11.36, allocations: 0.6087 MB / 4.482 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/11.37, allocations: 2.177 MB / 4.485 GB, free: 187.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/11.37, allocations: 1.384 MB / 4.486 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001313/11.37, allocations: 308.4 kB / 4.486 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/11.37, allocations: 98.34 kB / 4.486 GB, free: 187.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.365e-06/11.37, allocations: 0 / 4.486 GB, free: 187.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05633/11.43, allocations: 35.76 MB / 4.521 GB, free: 186.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches