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.0009347/0.0009345, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009628/0.000963, allocations: 177.3 kB / 15.95 MB, free: 216 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.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.398/2.398, allocations: 390.2 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7967, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2115/1.008, allocations: 177 MB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02453/1.033, allocations: 18.59 MB / 1.145 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/1.035, allocations: 39.75 kB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/1.038, allocations: 0.7582 MB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009059/1.047, allocations: 2.917 MB / 1.148 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/1.051, allocations: 1.229 MB / 1.149 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004621/1.055, allocations: 2.265 MB / 1.152 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/1.057, allocations: 1.191 MB / 1.153 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/1.061, allocations: 1.671 MB / 1.154 GB, free: 2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/1.064, allocations: 1.125 MB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/1.064, allocations: 76 kB / 1.156 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/1.066, allocations: 0.8347 MB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/1.067, allocations: 0.5961 MB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/1.067, allocations: 356.8 kB / 1.157 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/1.069, allocations: 1.948 MB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/1.069, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/1.07, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.773e-05/1.07, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 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.002845/1.072, allocations: 1.699 MB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.072, allocations: 8.031 kB / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/1.075, allocations: 409.4 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/1.077, allocations: 1.055 MB / 1.162 GB, free: 9.777 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/1.077, allocations: 102.6 kB / 1.162 GB, free: 9.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/1.077, allocations: 132 kB / 1.162 GB, free: 9.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/1.079, allocations: 1.567 MB / 1.164 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/1.079, allocations: 7.938 kB / 1.164 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.079, allocations: 52 kB / 1.164 GB, free: 7.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/1.08, allocations: 50.45 kB / 1.164 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/1.082, allocations: 1.286 MB / 1.165 GB, free: 6.504 MB / 0.92 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.008075/1.09, allocations: 6.482 MB / 1.172 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/1.091, allocations: 0.945 MB / 1.173 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/1.091, allocations: 157.7 kB / 1.173 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.091, allocations: 47.17 kB / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/1.091, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.00497/1.096, allocations: 2.93 MB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.097, allocations: 64.41 kB / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.098, allocations: 1.189 MB / 1.177 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/1.098, allocations: 41.7 kB / 1.177 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/1.099, allocations: 0.676 MB / 1.178 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/1.099, allocations: 307.6 kB / 1.178 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.099, allocations: 27.88 kB / 1.178 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.099, allocations: 345.9 kB / 1.178 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/1.1, allocations: 369.8 kB / 1.179 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008591/1.101, allocations: 0.7152 MB / 1.179 GB, free: 7.465 MB / 0.9356 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.01134/1.112, allocations: 2.375 MB / 1.182 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.112, allocations: 0 / 1.182 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002233/1.114, allocations: 1.294 MB / 1.183 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.114, allocations: 8 kB / 1.183 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.114, allocations: 11.98 kB / 1.183 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/1.115, allocations: 138.5 kB / 1.183 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/1.115, allocations: 203.7 kB / 1.183 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/1.12, allocations: 4.867 MB / 1.188 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.121, allocations: 107.7 kB / 1.188 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.121, allocations: 48 kB / 1.188 GB, free: 13.98 MB / 0.9512 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.0007808/1.122, allocations: 425.3 kB / 1.189 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.122, allocations: 146.3 kB / 1.189 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/1.124, allocations: 1.088 MB / 1.19 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.124, allocations: 12 kB / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/1.124, allocations: 0 / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/1.126, allocations: 1.054 MB / 1.191 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.131, allocations: 3.117 MB / 1.194 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.131, allocations: 8.406 kB / 1.194 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/1.132, allocations: 159.7 kB / 1.194 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/1.132, allocations: 126.5 kB / 1.194 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/1.132, allocations: 28 kB / 1.194 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/1.136, allocations: 4.855 MB / 1.199 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.136, allocations: 16.06 kB / 1.199 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/1.138, allocations: 2.08 MB / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/1.139, allocations: 315.2 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/1.139, allocations: 31.94 kB / 1.201 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/1.14, allocations: 81.41 kB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.14, allocations: 76.36 kB / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/1.14, allocations: 35.98 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00108/1.142, allocations: 0.8343 MB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.142, allocations: 0 / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001473/1.143, allocations: 412 kB / 1.203 GB, free: 14.03 MB / 0.9669 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.0005397/1.144, allocations: 248.3 kB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.145, allocations: 1.261 MB / 1.204 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.145, allocations: 0 / 1.204 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/1.146, allocations: 0.7823 MB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.15, allocations: 0.8369 MB / 1.206 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/1.154, allocations: 3.375 MB / 1.209 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009869/1.155, allocations: 1.386 MB / 1.21 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001272/1.157, allocations: 352.7 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.157, allocations: 115.4 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/1.157, allocations: 0 / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of Templates: time 0.04844/1.205, allocations: 29.35 MB / 1.239 GB, free: 8.578 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches