Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001004/0.001004, allocations: 99.03 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.001228/0.001228, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 11.98 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7424, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2247/0.9672, allocations: 215.7 MB / 1.234 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7297/1.697, allocations: 22.18 MB / 1.256 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/1.7, allocations: 48.28 kB / 1.256 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/1.702, allocations: 0.679 MB / 1.257 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/1.717, allocations: 4.13 MB / 1.261 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004346/1.721, allocations: 1.112 MB / 1.262 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.731, allocations: 5.663 MB / 1.267 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/1.734, allocations: 1.337 MB / 1.269 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/1.74, allocations: 1.589 MB / 1.27 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00529/1.745, allocations: 1.616 MB / 1.272 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008017/1.746, allocations: 74.75 kB / 1.272 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006855/1.753, allocations: 2.413 MB / 1.274 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/1.755, allocations: 0.6779 MB / 1.275 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003888/1.759, allocations: 0.9085 MB / 1.276 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004699/1.764, allocations: 2.31 MB / 1.278 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.764, allocations: 4 kB / 1.278 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.736e-06/1.764, allocations: 0 / 1.278 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001166/1.764, allocations: 0 / 1.278 GB, free: 17.58 MB / 0.9981 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.004532/1.768, allocations: 1.808 MB / 1.28 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.768, allocations: 10.09 kB / 1.28 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/1.771, allocations: 408.8 kB / 1.28 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/1.773, allocations: 1.149 MB / 1.281 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/1.773, allocations: 105.3 kB / 1.281 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.773, allocations: 137.4 kB / 1.282 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/1.776, allocations: 1.63 MB / 1.283 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/1.776, allocations: 2.906 kB / 1.283 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.776, allocations: 55.06 kB / 1.283 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/1.776, allocations: 57.53 kB / 1.283 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/1.778, allocations: 1.323 MB / 1.285 GB, free: 15.82 MB / 0.9981 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.008686/1.787, allocations: 7.162 MB / 1.292 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.788, allocations: 0.921 MB / 1.292 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/1.789, allocations: 479.1 kB / 1.293 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/1.789, allocations: 428.7 kB / 1.293 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.789, allocations: 38.41 kB / 1.293 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/1.79, allocations: 0 / 1.293 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.002912/1.792, allocations: 1.663 MB / 1.295 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/1.792, allocations: 64.25 kB / 1.295 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.794, allocations: 1.194 MB / 1.296 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/1.794, allocations: 45.7 kB / 1.296 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/1.795, allocations: 0.7154 MB / 1.297 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.795, allocations: 298.6 kB / 1.297 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.795, allocations: 81.83 kB / 1.297 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.795, allocations: 347.7 kB / 1.298 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/1.796, allocations: 365.8 kB / 1.298 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/1.797, allocations: 0.7231 MB / 1.299 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/1.798, allocations: 1.07 MB / 1.3 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.798, allocations: 8.047 kB / 1.3 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001871/1.8, allocations: 1.29 MB / 1.301 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/1.8, allocations: 335.9 kB / 1.301 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.8, allocations: 13.41 kB / 1.301 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/1.8, allocations: 135.5 kB / 1.301 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/1.801, allocations: 221.4 kB / 1.302 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/1.806, allocations: 5.42 MB / 1.307 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.808, allocations: 199 kB / 1.307 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.808, allocations: 49.05 kB / 1.307 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/1.808, allocations: 6.031 kB / 1.307 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/1.81, allocations: 1.125 MB / 1.308 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.81, allocations: 8.438 kB / 1.308 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/1.81, allocations: 133.5 kB / 1.308 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/1.811, allocations: 208.2 kB / 1.309 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/1.815, allocations: 4.853 MB / 1.313 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.817, allocations: 178.8 kB / 1.314 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/1.817, allocations: 43.16 kB / 1.314 GB, free: 15.7 MB / 1.014 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.0008941/1.818, allocations: 0.5018 MB / 1.314 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/1.818, allocations: 151.9 kB / 1.314 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/1.819, allocations: 1.073 MB / 1.315 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.819, allocations: 8.344 kB / 1.315 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.819, allocations: 0 / 1.315 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.821, allocations: 1.03 MB / 1.316 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/1.824, allocations: 2.584 MB / 1.319 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.824, allocations: 3.469 kB / 1.319 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/1.825, allocations: 159.8 kB / 1.319 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/1.825, allocations: 123.5 kB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/1.826, allocations: 29.83 kB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/1.83, allocations: 5.414 MB / 1.324 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.83, allocations: 2.938 kB / 1.324 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.832, allocations: 1.66 MB / 1.326 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/1.833, allocations: 327.8 kB / 1.326 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.833, allocations: 20.16 kB / 1.326 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009625/1.834, allocations: 92.53 kB / 1.326 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.834, allocations: 64.62 kB / 1.326 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/1.834, allocations: 33.75 kB / 1.327 GB, free: 9.383 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001116/1.835, allocations: 0.8186 MB / 1.327 GB, free: 9.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.835, allocations: 0 / 1.327 GB, free: 9.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002642/1.838, allocations: 0.8282 MB / 1.328 GB, free: 9.168 MB / 1.014 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.0006708/1.839, allocations: 248.8 kB / 1.328 GB, free: 9.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003393/1.842, allocations: 2.206 MB / 1.331 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.842, allocations: 0.9375 kB / 1.331 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009803/1.843, allocations: 0.7968 MB / 1.331 GB, free: 8.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/1.847, allocations: 0.7945 MB / 1.332 GB, free: 7.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/1.853, allocations: 3.7 MB / 1.336 GB, free: 6.078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.854, allocations: 1.4 MB / 1.337 GB, free: 5.344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/1.854, allocations: 116.5 kB / 1.337 GB, free: 5.336 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.854, allocations: 2.906 kB / 1.337 GB, free: 5.336 MB / 1.014 GB Notification: Performance of Templates: time 0.0627/1.917, allocations: 50.24 MB / 1.386 GB, free: 15.41 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_PPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches