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.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001165/0.001166, allocations: 175.9 kB / 0.4902 GB, free: 2.273 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.612/1.612, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001277/0.001277, allocations: 94.58 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006201, allocations: 10.56 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4242, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/6.012, allocations: 1.939 GB / 3.169 GB, free: 21.33 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/6.013, allocations: 91.17 kB / 3.169 GB, free: 21.25 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.337/11.35, allocations: 1.301 GB / 4.47 GB, free: 45.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.843e-06/11.35, allocations: 0 / 4.47 GB, free: 45.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001649/11.35, allocations: 40 kB / 4.47 GB, free: 45.11 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.005716/11.36, allocations: 2.058 MB / 4.472 GB, free: 43.01 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/11.36, allocations: 12.02 kB / 4.472 GB, free: 43 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/11.36, allocations: 393.6 kB / 4.472 GB, free: 42.61 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/11.36, allocations: 1.16 MB / 4.473 GB, free: 41.39 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/11.36, allocations: 106.5 kB / 4.474 GB, free: 41.29 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/11.36, allocations: 136 kB / 4.474 GB, free: 41.15 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/11.36, allocations: 1.516 MB / 4.475 GB, free: 39.56 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/11.36, allocations: 0 / 4.475 GB, free: 39.56 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/11.36, allocations: 56 kB / 4.475 GB, free: 39.51 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/11.36, allocations: 46.44 kB / 4.475 GB, free: 39.46 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/11.37, allocations: 1.224 MB / 4.476 GB, free: 38.23 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008584/11.38, allocations: 6.548 MB / 4.483 GB, free: 31.24 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/11.38, allocations: 0.9423 MB / 4.484 GB, free: 30.29 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/11.38, allocations: 405 kB / 4.484 GB, free: 29.82 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/11.38, allocations: 43.22 kB / 4.484 GB, free: 29.77 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/11.38, allocations: 0 / 4.484 GB, free: 29.77 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005553/11.38, allocations: 2.903 MB / 4.487 GB, free: 26.75 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/11.38, allocations: 64.34 kB / 4.487 GB, free: 26.67 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/11.38, allocations: 1.054 MB / 4.488 GB, free: 25.61 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/11.38, allocations: 41.7 kB / 4.488 GB, free: 25.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/11.39, allocations: 0.6722 MB / 4.489 GB, free: 24.88 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/11.39, allocations: 303.7 kB / 4.489 GB, free: 24.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/11.39, allocations: 20 kB / 4.489 GB, free: 24.56 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/11.39, allocations: 345.9 kB / 4.489 GB, free: 24.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/11.39, allocations: 361.8 kB / 4.49 GB, free: 23.86 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/11.39, allocations: 0.7342 MB / 4.491 GB, free: 22.97 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.01184/11.4, allocations: 2.33 MB / 4.493 GB, free: 20.62 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/11.4, allocations: 4 kB / 4.493 GB, free: 20.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002191/11.4, allocations: 1.288 MB / 4.494 GB, free: 19.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/11.4, allocations: 8 kB / 4.494 GB, free: 19.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/11.4, allocations: 8 kB / 4.494 GB, free: 19.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/11.4, allocations: 131.2 kB / 4.494 GB, free: 19.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/11.4, allocations: 211.7 kB / 4.494 GB, free: 18.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/11.4, allocations: 4.823 MB / 4.499 GB, free: 13.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/11.41, allocations: 111.7 kB / 4.499 GB, free: 13.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/11.41, allocations: 51.98 kB / 4.499 GB, free: 13.57 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 () * Number of clocked 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.0008565/11.41, allocations: 426.9 kB / 4.5 GB, free: 13.14 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/11.41, allocations: 150.3 kB / 4.5 GB, free: 13 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/11.41, allocations: 1.077 MB / 4.501 GB, free: 11.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/11.41, allocations: 12 kB / 4.501 GB, free: 11.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/11.41, allocations: 0 / 4.501 GB, free: 11.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/11.41, allocations: 1.047 MB / 4.502 GB, free: 10.78 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/11.42, allocations: 3.058 MB / 4.505 GB, free: 7.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/11.42, allocations: 8.75 kB / 4.505 GB, free: 7.512 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/11.42, allocations: 155.8 kB / 4.505 GB, free: 7.359 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/11.42, allocations: 126.5 kB / 4.505 GB, free: 7.227 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/11.42, allocations: 24 kB / 4.505 GB, free: 7.203 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/11.42, allocations: 4.816 MB / 4.51 GB, free: 1.984 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/11.42, allocations: 7.938 kB / 4.51 GB, free: 1.977 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/11.42, allocations: 2.079 MB / 4.512 GB, free: 15.54 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/11.42, allocations: 311.3 kB / 4.512 GB, free: 15.21 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/11.42, allocations: 27.98 kB / 4.512 GB, free: 15.18 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/11.43, allocations: 71.8 kB / 4.512 GB, free: 15.11 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/11.43, allocations: 88.31 kB / 4.512 GB, free: 15.03 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/11.43, allocations: 31.98 kB / 4.512 GB, free: 15 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001543/11.43, allocations: 0.8304 MB / 4.513 GB, free: 14.16 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.71e-07/11.43, allocations: 0 / 4.513 GB, free: 14.16 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003386/11.43, allocations: 0.6366 MB / 4.514 GB, free: 13.53 MB / 1.182 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 () * Number of clocked 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.005156/11.44, allocations: 2.418 MB / 4.516 GB, free: 10.93 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00246/11.44, allocations: 1.269 MB / 4.517 GB, free: 9.617 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/11.44, allocations: 4.062 kB / 4.517 GB, free: 9.613 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/11.44, allocations: 0.7737 MB / 4.518 GB, free: 8.805 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/11.44, allocations: 0.8454 MB / 4.519 GB, free: 7.973 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/11.45, allocations: 3.37 MB / 4.522 GB, free: 4.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/11.45, allocations: 1.383 MB / 4.524 GB, free: 3.086 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001712/11.45, allocations: 348.8 kB / 4.524 GB, free: 2.738 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/11.45, allocations: 115.4 kB / 4.524 GB, free: 2.625 MB / 1.182 GB Notification: Performance of SimCode: time 3.165e-06/11.45, allocations: 0 / 4.524 GB, free: 2.625 MB / 1.182 GB Notification: Performance of Templates: time 0.666/12.12, allocations: 56.53 MB / 4.579 GB, free: 198.7 MB / 1.182 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