Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.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.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_9_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_9_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001562/0.001562, allocations: 180.9 kB / 498.1 MB, free: 5.738 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.631/1.631, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.001088/0.001088, allocations: 100.2 kB / 0.9346 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003661, allocations: 11.81 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.365, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.604/4.969, allocations: 1.939 GB / 3.161 GB, free: 74.68 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/4.969, allocations: 87.95 kB / 3.161 GB, free: 74.59 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.793/9.762, allocations: 1.301 GB / 4.463 GB, free: 100.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.236e-06/9.762, allocations: 0 / 4.463 GB, free: 100.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001286/9.762, allocations: 40 kB / 4.463 GB, free: 100.7 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.006906/9.769, allocations: 2.065 MB / 4.465 GB, free: 98.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/9.769, allocations: 8.031 kB / 4.465 GB, free: 98.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/9.772, allocations: 393.6 kB / 4.465 GB, free: 98.22 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/9.775, allocations: 1.152 MB / 4.466 GB, free: 97.01 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/9.775, allocations: 102.6 kB / 4.466 GB, free: 96.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/9.775, allocations: 140 kB / 4.467 GB, free: 96.77 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/9.777, allocations: 1.52 MB / 4.468 GB, free: 95.18 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/9.777, allocations: 4 kB / 4.468 GB, free: 95.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/9.778, allocations: 56 kB / 4.468 GB, free: 95.12 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/9.778, allocations: 46.45 kB / 4.468 GB, free: 95.07 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/9.779, allocations: 1.224 MB / 4.469 GB, free: 93.84 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.00788/9.787, allocations: 6.552 MB / 4.476 GB, free: 86.85 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/9.789, allocations: 0.9431 MB / 4.477 GB, free: 85.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/9.789, allocations: 409 kB / 4.477 GB, free: 85.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/9.789, allocations: 51.16 kB / 4.477 GB, free: 85.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 4.659e-06/9.789, allocations: 0 / 4.477 GB, free: 85.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005333/9.795, allocations: 2.899 MB / 4.48 GB, free: 82.35 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/9.795, allocations: 60.41 kB / 4.48 GB, free: 82.28 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/9.796, allocations: 1.042 MB / 4.481 GB, free: 81.22 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.075e-05/9.796, allocations: 45.7 kB / 4.481 GB, free: 81.17 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/9.796, allocations: 0.6799 MB / 4.482 GB, free: 80.48 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/9.797, allocations: 299.7 kB / 4.482 GB, free: 80.19 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/9.797, allocations: 23.94 kB / 4.482 GB, free: 80.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/9.797, allocations: 341.9 kB / 4.482 GB, free: 79.82 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/9.797, allocations: 373.8 kB / 4.483 GB, free: 79.46 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/9.798, allocations: 0.7309 MB / 4.483 GB, free: 78.57 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.01149/9.809, allocations: 2.332 MB / 4.486 GB, free: 76.22 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/9.81, allocations: 0 / 4.486 GB, free: 76.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002142/9.812, allocations: 1.281 MB / 4.487 GB, free: 74.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/9.812, allocations: 11.95 kB / 4.487 GB, free: 74.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/9.812, allocations: 12 kB / 4.487 GB, free: 74.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/9.812, allocations: 134.4 kB / 4.487 GB, free: 74.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/9.813, allocations: 199.7 kB / 4.487 GB, free: 74.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/9.816, allocations: 4.835 MB / 4.492 GB, free: 69.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/9.818, allocations: 115.7 kB / 4.492 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/9.818, allocations: 44 kB / 4.492 GB, free: 69.17 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.001142/9.819, allocations: 429.4 kB / 4.493 GB, free: 68.74 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/9.82, allocations: 146.2 kB / 4.493 GB, free: 68.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/9.821, allocations: 1.081 MB / 4.494 GB, free: 67.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/9.821, allocations: 8 kB / 4.494 GB, free: 67.49 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/9.821, allocations: 4 kB / 4.494 GB, free: 67.48 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/9.822, allocations: 1.039 MB / 4.495 GB, free: 66.39 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/9.828, allocations: 3.066 MB / 4.498 GB, free: 63.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/9.828, allocations: 4 kB / 4.498 GB, free: 63.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/9.828, allocations: 151.8 kB / 4.498 GB, free: 62.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/9.829, allocations: 126.4 kB / 4.498 GB, free: 62.83 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/9.829, allocations: 32.45 kB / 4.498 GB, free: 62.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/9.832, allocations: 4.812 MB / 4.503 GB, free: 57.59 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/9.832, allocations: 11.94 kB / 4.503 GB, free: 57.58 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/9.834, allocations: 2.067 MB / 4.505 GB, free: 55.15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009602/9.835, allocations: 315.3 kB / 4.505 GB, free: 54.82 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/9.835, allocations: 24 kB / 4.505 GB, free: 54.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009505/9.836, allocations: 87.91 kB / 4.505 GB, free: 54.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/9.836, allocations: 72.38 kB / 4.505 GB, free: 54.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/9.836, allocations: 39.98 kB / 4.505 GB, free: 54.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001163/9.838, allocations: 0.8304 MB / 4.506 GB, free: 53.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 1e-07/9.838, allocations: 4 kB / 4.506 GB, free: 53.77 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002767/9.84, allocations: 0.6249 MB / 4.507 GB, free: 53.14 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 () * 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.003874/9.844, allocations: 2.443 MB / 4.509 GB, free: 50.52 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001999/9.846, allocations: 1.26 MB / 4.51 GB, free: 49.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/9.846, allocations: 1.375 kB / 4.51 GB, free: 49.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/9.847, allocations: 0.7807 MB / 4.511 GB, free: 48.39 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/9.851, allocations: 0.829 MB / 4.512 GB, free: 47.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/9.856, allocations: 3.359 MB / 4.515 GB, free: 44.12 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/9.857, allocations: 1.39 MB / 4.517 GB, free: 42.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001763/9.859, allocations: 356.8 kB / 4.517 GB, free: 42.35 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/9.859, allocations: 111.4 kB / 4.517 GB, free: 42.24 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/9.859, allocations: 4 kB / 4.517 GB, free: 42.23 MB / 1.167 GB Notification: Performance of Templates: time 0.08116/9.94, allocations: 56.53 MB / 4.572 GB, free: 2.09 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches