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.001074/0.001074, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 187.7 kB / 16.92 MB, free: 6.746 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.359 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.454/2.454, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003666, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7465, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2457/0.9922, allocations: 215.7 MB / 1.166 GB, free: 6.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03174/1.024, allocations: 22.18 MB / 1.188 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/1.027, allocations: 47.69 kB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/1.029, allocations: 0.6761 MB / 1.189 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.042, allocations: 4.129 MB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/1.046, allocations: 1.12 MB / 1.194 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007378/1.053, allocations: 5.661 MB / 1.199 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/1.056, allocations: 1.339 MB / 1.201 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/1.06, allocations: 1.591 MB / 1.202 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/1.064, allocations: 1.604 MB / 1.204 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005649/1.065, allocations: 72 kB / 1.204 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/1.07, allocations: 2.416 MB / 1.206 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.071, allocations: 0.6777 MB / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/1.074, allocations: 0.9111 MB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/1.077, allocations: 2.303 MB / 1.21 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.078, allocations: 4 kB / 1.21 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/1.078, allocations: 0 / 1.21 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.677e-05/1.078, allocations: 0 / 1.21 GB, free: 10.06 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.003857/1.081, allocations: 1.812 MB / 1.212 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.082, allocations: 12.03 kB / 1.212 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.084, allocations: 409.4 kB / 1.212 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/1.087, allocations: 1.152 MB / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.087, allocations: 110.6 kB / 1.213 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/1.087, allocations: 136 kB / 1.214 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/1.09, allocations: 1.639 MB / 1.215 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/1.091, allocations: 4 kB / 1.215 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/1.091, allocations: 52 kB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/1.091, allocations: 50.55 kB / 1.215 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/1.093, allocations: 1.329 MB / 1.217 GB, free: 3.172 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.01013/1.103, allocations: 7.158 MB / 1.224 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/1.105, allocations: 0.9242 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/1.106, allocations: 471.6 kB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/1.106, allocations: 429.3 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.107, allocations: 43.5 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 3.516e-06/1.107, allocations: 0 / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003249/1.11, allocations: 1.653 MB / 1.227 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.11, allocations: 60.41 kB / 1.227 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.112, allocations: 1.194 MB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.112, allocations: 45.7 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/1.113, allocations: 0.7187 MB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/1.113, allocations: 303.7 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.113, allocations: 85.67 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.113, allocations: 345.9 kB / 1.23 GB, free: 5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/1.114, allocations: 365.8 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/1.115, allocations: 0.7285 MB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.116, allocations: 1.069 MB / 1.232 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.116, allocations: 4 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002374/1.119, allocations: 1.285 MB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/1.119, allocations: 332.1 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.119, allocations: 11.98 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/1.119, allocations: 138.4 kB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.12, allocations: 219.7 kB / 1.234 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/1.125, allocations: 5.421 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.127, allocations: 198.6 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.127, allocations: 47.98 kB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/1.127, allocations: 4 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/1.129, allocations: 1.128 MB / 1.24 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.129, allocations: 11.94 kB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/1.13, allocations: 130.5 kB / 1.24 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/1.13, allocations: 211.7 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/1.135, allocations: 4.844 MB / 1.245 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.137, allocations: 190.8 kB / 1.246 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.137, allocations: 44 kB / 1.246 GB, free: 3.402 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.001279/1.138, allocations: 0.489 MB / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.139, allocations: 142.2 kB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/1.141, allocations: 1.073 MB / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.141, allocations: 8 kB / 1.247 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.141, allocations: 7.938 kB / 1.247 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/1.143, allocations: 1.031 MB / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6068/1.75, allocations: 2.584 MB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.75, allocations: 2.875 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/1.751, allocations: 165.9 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/1.751, allocations: 128.3 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/1.751, allocations: 23.36 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/1.755, allocations: 5.4 MB / 1.256 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.755, allocations: 9.375 kB / 1.256 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/1.758, allocations: 1.66 MB / 1.258 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/1.759, allocations: 320 kB / 1.258 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/1.76, allocations: 20.58 kB / 1.258 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.761, allocations: 92.17 kB / 1.258 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/1.761, allocations: 69.55 kB / 1.258 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/1.761, allocations: 28.8 kB / 1.259 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001468/1.762, allocations: 0.8184 MB / 1.259 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.762, allocations: 0.75 kB / 1.259 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003177/1.766, allocations: 0.8229 MB / 1.26 GB, free: 275.8 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.0006046/1.766, allocations: 260.6 kB / 1.26 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003995/1.77, allocations: 2.196 MB / 1.263 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.77, allocations: 5.281 kB / 1.263 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.771, allocations: 0.7977 MB / 1.263 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.776, allocations: 0.7924 MB / 1.264 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/1.782, allocations: 3.725 MB / 1.268 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.783, allocations: 1.382 MB / 1.269 GB, free: 271.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/1.783, allocations: 121.8 kB / 1.269 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/1.783, allocations: 0 / 1.269 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06411/1.847, allocations: 50.23 MB / 1.318 GB, free: 231.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches