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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.729, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2278/0.9569, allocations: 201.2 MB / 1.151 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02658/0.9835, allocations: 20.74 MB / 1.171 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.9855, allocations: 47.69 kB / 1.171 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.9874, allocations: 0.5512 MB / 1.172 GB, free: 320 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008622/0.996, allocations: 3.075 MB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.999, allocations: 0.9251 MB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005746/1.005, allocations: 4.794 MB / 1.18 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/1.007, allocations: 1.207 MB / 1.182 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/1.01, allocations: 1.576 MB / 1.183 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/1.013, allocations: 1.541 MB / 1.185 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/1.013, allocations: 76 kB / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/1.016, allocations: 1.243 MB / 1.186 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007681/1.017, allocations: 0.6699 MB / 1.187 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/1.018, allocations: 384.8 kB / 1.187 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/1.021, allocations: 2.194 MB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.021, allocations: 0 / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/1.021, allocations: 0 / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.813e-05/1.021, allocations: 0 / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.002963/1.024, allocations: 1.828 MB / 1.191 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.024, allocations: 16.03 kB / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/1.026, allocations: 409.4 kB / 1.191 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.028, allocations: 1.102 MB / 1.192 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/1.028, allocations: 106.7 kB / 1.192 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.028, allocations: 136 kB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.03, allocations: 1.627 MB / 1.194 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/1.031, allocations: 4 kB / 1.194 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.031, allocations: 56 kB / 1.194 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/1.031, allocations: 58.53 kB / 1.194 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.033, allocations: 1.314 MB / 1.196 GB, free: 7.723 MB / 0.9512 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.008652/1.041, allocations: 7.158 MB / 1.203 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/1.043, allocations: 0.9125 MB / 1.203 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/1.044, allocations: 471.6 kB / 1.204 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/1.044, allocations: 429.3 kB / 1.204 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/1.044, allocations: 39.56 kB / 1.204 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 4.378e-06/1.044, allocations: 0 / 1.204 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.003104/1.048, allocations: 1.656 MB / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.048, allocations: 64.41 kB / 1.206 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.049, allocations: 1.186 MB / 1.207 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/1.049, allocations: 49.64 kB / 1.207 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/1.05, allocations: 0.7111 MB / 1.208 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/1.05, allocations: 299.7 kB / 1.208 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/1.05, allocations: 23.94 kB / 1.208 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.05, allocations: 341.9 kB / 1.209 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/1.051, allocations: 357.8 kB / 1.209 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008977/1.052, allocations: 0.7208 MB / 1.21 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/1.053, allocations: 477.9 kB / 1.21 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.053, allocations: 4 kB / 1.21 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002022/1.055, allocations: 1.275 MB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.055, allocations: 343.6 kB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.055, allocations: 8 kB / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/1.055, allocations: 134.5 kB / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.056, allocations: 227.6 kB / 1.212 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.061, allocations: 5.422 MB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.062, allocations: 198.9 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/1.062, allocations: 44 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/1.062, allocations: 4 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/1.064, allocations: 1.124 MB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.064, allocations: 12 kB / 1.219 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/1.064, allocations: 131.4 kB / 1.219 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/1.065, allocations: 215.7 kB / 1.219 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/1.069, allocations: 4.839 MB / 1.224 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.07, allocations: 174.9 kB / 1.224 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/1.071, allocations: 47.98 kB / 1.224 GB, free: 8.801 MB / 0.9825 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0009246/1.072, allocations: 0.5044 MB / 1.224 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/1.072, allocations: 142.3 kB / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/1.074, allocations: 1.077 MB / 1.226 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.074, allocations: 11.94 kB / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/1.074, allocations: 0 / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.075, allocations: 1.023 MB / 1.227 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/1.079, allocations: 2.585 MB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.079, allocations: 4 kB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/1.08, allocations: 159.8 kB / 1.229 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/1.08, allocations: 126.8 kB / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.08, allocations: 27.98 kB / 1.229 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/1.084, allocations: 5.394 MB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.084, allocations: 4.031 kB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/1.087, allocations: 1.655 MB / 1.236 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/1.087, allocations: 323.1 kB / 1.237 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.088, allocations: 16 kB / 1.237 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/1.088, allocations: 96.38 kB / 1.237 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.089, allocations: 68.45 kB / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/1.089, allocations: 28 kB / 1.237 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001152/1.09, allocations: 0.8104 MB / 1.238 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.09, allocations: 0 / 1.238 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002571/1.092, allocations: 0.8263 MB / 1.238 GB, free: 9.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0006161/1.093, allocations: 266.1 kB / 1.239 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003397/1.096, allocations: 2.192 MB / 1.241 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.096, allocations: 0 / 1.241 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.098, allocations: 0.7898 MB / 1.242 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.101, allocations: 0.7934 MB / 1.242 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/1.107, allocations: 3.514 MB / 1.246 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.108, allocations: 1.392 MB / 1.247 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.5448/1.653, allocations: 449.7 kB / 1.248 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.653, allocations: 106.4 kB / 1.248 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.532e-06/1.653, allocations: 0 / 1.248 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05157/1.705, allocations: 29.34 MB / 1.276 GB, free: 266.2 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches