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.417/2.417, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001174/0.001174, allocations: 172.9 kB / 492.3 MB, free: 0.6367 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.693/1.693, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008677/0.0008677, allocations: 103.3 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.418/5.725, allocations: 1.938 GB / 3.151 GB, free: 391.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/5.726, allocations: 87.95 kB / 3.151 GB, free: 391.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.879/10.6, allocations: 1.3 GB / 4.451 GB, free: 203.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.575e-06/10.6, allocations: 5.422 kB / 4.451 GB, free: 203.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001571/10.61, allocations: 44.06 kB / 4.451 GB, free: 203.9 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.00635/10.61, allocations: 1.828 MB / 4.453 GB, free: 203.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/10.61, allocations: 9.031 kB / 4.453 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/10.61, allocations: 399.5 kB / 4.453 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/10.62, allocations: 1.147 MB / 4.454 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/10.62, allocations: 100.5 kB / 4.454 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/10.62, allocations: 139.4 kB / 4.455 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/10.62, allocations: 1.495 MB / 4.456 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/10.62, allocations: 1.188 kB / 4.456 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/10.62, allocations: 59.2 kB / 4.456 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/10.62, allocations: 45.27 kB / 4.456 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/10.62, allocations: 1.201 MB / 4.457 GB, free: 202.7 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.009408/10.63, allocations: 6.557 MB / 4.464 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/10.64, allocations: 0.9172 MB / 4.465 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/10.64, allocations: 471.1 kB / 4.465 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/10.64, allocations: 404.2 kB / 4.465 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/10.64, allocations: 55.97 kB / 4.465 GB, free: 199 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.856e-06/10.64, allocations: 3.75 kB / 4.465 GB, free: 199 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005046/10.64, allocations: 2.281 MB / 4.468 GB, free: 198.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/10.64, allocations: 63.25 kB / 4.468 GB, free: 198.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/10.64, allocations: 1.028 MB / 4.469 GB, free: 198.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/10.64, allocations: 46.27 kB / 4.469 GB, free: 198.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/10.64, allocations: 0.6838 MB / 4.469 GB, free: 198 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/10.64, allocations: 297.4 kB / 4.47 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/10.64, allocations: 19.72 kB / 4.47 GB, free: 197.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/10.64, allocations: 352.1 kB / 4.47 GB, free: 197.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/10.64, allocations: 361.3 kB / 4.47 GB, free: 197.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/10.65, allocations: 0.7192 MB / 4.471 GB, free: 197.1 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.01099/10.66, allocations: 2.34 MB / 4.473 GB, free: 197 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/10.66, allocations: 5.5 kB / 4.473 GB, free: 197 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002923/10.66, allocations: 1.287 MB / 4.475 GB, free: 196.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/10.66, allocations: 9.656 kB / 4.475 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/10.66, allocations: 7.594 kB / 4.475 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/10.66, allocations: 149.9 kB / 4.475 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/10.66, allocations: 203.2 kB / 4.475 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/10.66, allocations: 4.779 MB / 4.48 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/10.67, allocations: 116.1 kB / 4.48 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/10.67, allocations: 46.66 kB / 4.48 GB, free: 192.8 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.0004887/10.67, allocations: 175.5 kB / 4.48 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/10.67, allocations: 140 kB / 4.48 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/10.67, allocations: 1.094 MB / 4.481 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/10.67, allocations: 11.45 kB / 4.481 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/10.67, allocations: 0 / 4.481 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/10.67, allocations: 1.05 MB / 4.482 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/10.68, allocations: 3.076 MB / 4.485 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/10.68, allocations: 7.062 kB / 4.485 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/10.68, allocations: 158.6 kB / 4.485 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/10.68, allocations: 137.6 kB / 4.486 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/10.68, allocations: 28.56 kB / 4.486 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/10.68, allocations: 4.766 MB / 4.49 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/10.68, allocations: 9.844 kB / 4.49 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/10.69, allocations: 2.073 MB / 4.492 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/10.69, allocations: 312.5 kB / 4.493 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/10.69, allocations: 25.23 kB / 4.493 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/10.69, allocations: 83.73 kB / 4.493 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/10.69, allocations: 76.09 kB / 4.493 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/10.69, allocations: 37.27 kB / 4.493 GB, free: 186.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001633/10.69, allocations: 0.8243 MB / 4.494 GB, free: 186 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/10.69, allocations: 4.094 kB / 4.494 GB, free: 186 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003224/10.69, allocations: 0.633 MB / 4.494 GB, free: 186 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.004015/10.7, allocations: 2.423 MB / 4.497 GB, free: 185.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002191/10.7, allocations: 1.248 MB / 4.498 GB, free: 184.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/10.7, allocations: 0 / 4.498 GB, free: 184.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009136/10.7, allocations: 0.7708 MB / 4.499 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/10.71, allocations: 0.8346 MB / 4.499 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/10.71, allocations: 2.275 MB / 4.502 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/10.71, allocations: 1.384 MB / 4.503 GB, free: 183 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001945/10.71, allocations: 353.7 kB / 4.503 GB, free: 183 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/10.71, allocations: 114 kB / 4.503 GB, free: 183 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/10.71, allocations: 0 / 4.503 GB, free: 183 MB / 1.167 GB Notification: Performance of Templates: time 0.08533/10.8, allocations: 62.45 MB / 4.564 GB, free: 181.1 MB / 1.167 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