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.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 181.5 kB / 326.5 MB, free: 2.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.865/1.865, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008121/0.0008119, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 11.88 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.519/5.755, allocations: 2.211 GB / 3.111 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.756, allocations: 97.23 kB / 3.112 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.317/10.07, allocations: 1.244 GB / 4.356 GB, free: 49.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.343e-06/10.07, allocations: 4 kB / 4.356 GB, free: 49.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001141/10.07, allocations: 39.98 kB / 4.356 GB, free: 49.34 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.005559/10.08, allocations: 2.042 MB / 4.358 GB, free: 47.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/10.08, allocations: 8.031 kB / 4.358 GB, free: 47.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/10.08, allocations: 373.6 kB / 4.358 GB, free: 46.87 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/10.08, allocations: 1.144 MB / 4.36 GB, free: 45.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/10.08, allocations: 102.6 kB / 4.36 GB, free: 45.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/10.08, allocations: 136 kB / 4.36 GB, free: 45.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/10.09, allocations: 1.53 MB / 4.361 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/10.09, allocations: 0 / 4.361 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/10.09, allocations: 63.98 kB / 4.361 GB, free: 43.78 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/10.09, allocations: 50.47 kB / 4.361 GB, free: 43.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/10.09, allocations: 1.212 MB / 4.363 GB, free: 42.51 MB / 0.8855 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.006979/10.09, allocations: 6.579 MB / 4.369 GB, free: 35.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/10.1, allocations: 0.7561 MB / 4.37 GB, free: 34.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/10.1, allocations: 413.5 kB / 4.37 GB, free: 34.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/10.1, allocations: 43.22 kB / 4.37 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/10.1, allocations: 0 / 4.37 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002434/10.1, allocations: 1.5 MB / 4.372 GB, free: 32.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/10.1, allocations: 60.06 kB / 4.372 GB, free: 32.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/10.1, allocations: 1.099 MB / 4.373 GB, free: 31.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/10.1, allocations: 41.7 kB / 4.373 GB, free: 31.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/10.1, allocations: 0.6952 MB / 4.373 GB, free: 30.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/10.1, allocations: 256.2 kB / 4.374 GB, free: 30.44 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/10.1, allocations: 20 kB / 4.374 GB, free: 30.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/10.1, allocations: 345.9 kB / 4.374 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/10.1, allocations: 333.8 kB / 4.374 GB, free: 29.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/10.1, allocations: 0.7122 MB / 4.375 GB, free: 28.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/10.1, allocations: 459.1 kB / 4.376 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/10.1, allocations: 4 kB / 4.376 GB, free: 28.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001555/10.1, allocations: 1.235 MB / 4.377 GB, free: 27.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/10.1, allocations: 14.12 kB / 4.377 GB, free: 27.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.1, allocations: 8 kB / 4.377 GB, free: 27.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/10.1, allocations: 130.5 kB / 4.377 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/10.1, allocations: 199.7 kB / 4.377 GB, free: 26.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/10.11, allocations: 4.844 MB / 4.382 GB, free: 21.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/10.11, allocations: 178.6 kB / 4.382 GB, free: 21.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/10.11, allocations: 52 kB / 4.382 GB, free: 21.34 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 () * Number of clocked 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.0008013/10.11, allocations: 433.7 kB / 4.382 GB, free: 20.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/10.11, allocations: 146.3 kB / 4.383 GB, free: 20.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/10.11, allocations: 1.025 MB / 4.384 GB, free: 19.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/10.11, allocations: 12 kB / 4.384 GB, free: 19.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/10.11, allocations: 0 / 4.384 GB, free: 19.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008967/10.11, allocations: 0.9153 MB / 4.384 GB, free: 18.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/10.12, allocations: 2.372 MB / 4.387 GB, free: 16.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/10.12, allocations: 4 kB / 4.387 GB, free: 16.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/10.12, allocations: 136.1 kB / 4.387 GB, free: 16.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/10.12, allocations: 122.8 kB / 4.387 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/10.12, allocations: 16 kB / 4.387 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/10.12, allocations: 4.812 MB / 4.392 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/10.12, allocations: 11.88 kB / 4.392 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/10.12, allocations: 1.646 MB / 4.393 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/10.12, allocations: 327.2 kB / 4.394 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/10.12, allocations: 19.98 kB / 4.394 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/10.12, allocations: 67.8 kB / 4.394 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/10.12, allocations: 64.38 kB / 4.394 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/10.12, allocations: 27.98 kB / 4.394 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001058/10.12, allocations: 0.8583 MB / 4.395 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/10.12, allocations: 0 / 4.395 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002461/10.13, allocations: 0.6788 MB / 4.395 GB, free: 6.898 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 () * Number of clocked 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.003493/10.13, allocations: 2.415 MB / 4.398 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001679/10.13, allocations: 1.175 MB / 4.399 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/10.13, allocations: 5.375 kB / 4.399 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/10.13, allocations: 0.73 MB / 4.4 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/10.14, allocations: 0.8295 MB / 4.4 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/10.14, allocations: 3.199 MB / 4.404 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/10.14, allocations: 1.378 MB / 4.405 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001728/10.14, allocations: 344.5 kB / 4.405 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/10.14, allocations: 107.4 kB / 4.405 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of SimCode: time 1.052e-06/10.14, allocations: 0 / 4.405 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of Templates: time 0.625/10.77, allocations: 55.88 MB / 4.46 GB, free: 123.3 MB / 0.9011 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