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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008711/0.0008712, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006208/0.006208, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004234, allocations: 11.98 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8001, allocations: 142.4 MB / 0.955 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.245/1.045, allocations: 215.7 MB / 1.166 GB, free: 7.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03298/1.078, allocations: 22.17 MB / 1.187 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/1.081, allocations: 51.62 kB / 1.187 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/1.083, allocations: 0.68 MB / 1.188 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01431/1.098, allocations: 4.129 MB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/1.102, allocations: 1.12 MB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.113, allocations: 5.657 MB / 1.199 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/1.116, allocations: 1.335 MB / 1.2 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/1.121, allocations: 1.587 MB / 1.202 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/1.126, allocations: 1.616 MB / 1.203 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004281/1.126, allocations: 76 kB / 1.203 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/1.131, allocations: 2.424 MB / 1.206 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/1.132, allocations: 0.666 MB / 1.206 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/1.134, allocations: 0.9111 MB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/1.139, allocations: 3.127 MB / 1.21 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.139, allocations: 8 kB / 1.21 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/1.139, allocations: 0 / 1.21 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.341e-05/1.139, allocations: 0 / 1.21 GB, free: 9.332 MB / 0.9669 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.003342/1.143, allocations: 1.808 MB / 1.212 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.143, allocations: 12.03 kB / 1.212 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/1.145, allocations: 409.4 kB / 1.212 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/1.147, allocations: 1.152 MB / 1.213 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/1.147, allocations: 110.6 kB / 1.214 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/1.148, allocations: 136 kB / 1.214 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/1.15, allocations: 1.627 MB / 1.215 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/1.15, allocations: 7.922 kB / 1.215 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.15, allocations: 63.98 kB / 1.215 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/1.151, allocations: 54.53 kB / 1.215 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.153, allocations: 1.329 MB / 1.217 GB, free: 2.441 MB / 0.9669 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.008877/1.162, allocations: 7.146 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.163, allocations: 0.9281 MB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/1.164, allocations: 479.5 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.164, allocations: 425.3 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.164, allocations: 43.56 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/1.164, allocations: 0 / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003059/1.168, allocations: 1.653 MB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/1.168, allocations: 64.41 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.169, allocations: 1.194 MB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.169, allocations: 45.7 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/1.17, allocations: 0.711 MB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/1.17, allocations: 299.6 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.17, allocations: 89.66 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.171, allocations: 345.9 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/1.171, allocations: 361.8 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/1.172, allocations: 0.7247 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.173, allocations: 1.069 MB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.173, allocations: 4 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002153/1.176, allocations: 1.281 MB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/1.176, allocations: 348 kB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.176, allocations: 8 kB / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/1.176, allocations: 138.4 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/1.177, allocations: 219.6 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/1.182, allocations: 5.429 MB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/1.184, allocations: 198.7 kB / 1.239 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/1.184, allocations: 47.98 kB / 1.239 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.184, allocations: 4 kB / 1.239 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001782/1.186, allocations: 1.128 MB / 1.24 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.186, allocations: 11.94 kB / 1.24 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/1.186, allocations: 130.5 kB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/1.187, allocations: 211.7 kB / 1.241 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/1.191, allocations: 4.84 MB / 1.246 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.193, allocations: 186.8 kB / 1.246 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/1.193, allocations: 47.98 kB / 1.246 GB, free: 2.676 MB / 0.9981 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000983/1.194, allocations: 0.4928 MB / 1.246 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/1.194, allocations: 146.2 kB / 1.246 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.196, allocations: 1.065 MB / 1.247 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.196, allocations: 8 kB / 1.247 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.196, allocations: 7.875 kB / 1.247 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6331/1.829, allocations: 1.023 MB / 1.248 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/1.835, allocations: 2.583 MB / 1.251 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.835, allocations: 2.875 kB / 1.251 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/1.836, allocations: 164.1 kB / 1.251 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/1.836, allocations: 126.6 kB / 1.251 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/1.837, allocations: 22.73 kB / 1.251 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/1.84, allocations: 5.403 MB / 1.257 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.84, allocations: 4.5 kB / 1.257 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/1.843, allocations: 1.664 MB / 1.258 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/1.844, allocations: 320.1 kB / 1.258 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.844, allocations: 24.12 kB / 1.258 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/1.845, allocations: 93.16 kB / 1.259 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.845, allocations: 74.67 kB / 1.259 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/1.845, allocations: 33.39 kB / 1.259 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001253/1.847, allocations: 0.8154 MB / 1.259 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.847, allocations: 0 / 1.259 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002836/1.849, allocations: 0.8283 MB / 1.26 GB, free: 275.5 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006862/1.85, allocations: 260.1 kB / 1.261 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003881/1.854, allocations: 2.195 MB / 1.263 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.854, allocations: 1.031 kB / 1.263 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.855, allocations: 0.8018 MB / 1.263 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/1.86, allocations: 0.7957 MB / 1.264 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/1.864, allocations: 3.608 MB / 1.268 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009571/1.865, allocations: 1.392 MB / 1.269 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001811/1.867, allocations: 451.1 kB / 1.27 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.867, allocations: 104.6 kB / 1.27 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.867, allocations: 0 / 1.27 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04655/1.914, allocations: 30.26 MB / 1.299 GB, free: 250.6 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