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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001201/0.0012, 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.01042/0.01042, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004113, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7636, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2534/1.017, allocations: 215.7 MB / 1.234 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7013/1.718, allocations: 22.18 MB / 1.255 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/1.72, allocations: 48.03 kB / 1.255 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/1.722, allocations: 0.6818 MB / 1.256 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/1.734, allocations: 4.13 MB / 1.26 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/1.737, allocations: 1.114 MB / 1.261 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009437/1.747, allocations: 5.667 MB / 1.267 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/1.749, allocations: 1.336 MB / 1.268 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/1.753, allocations: 1.593 MB / 1.27 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/1.757, allocations: 1.6 MB / 1.271 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003159/1.758, allocations: 74.94 kB / 1.271 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005946/1.764, allocations: 2.42 MB / 1.274 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008209/1.764, allocations: 0.6802 MB / 1.274 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/1.766, allocations: 0.9059 MB / 1.275 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/1.771, allocations: 3.137 MB / 1.278 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.771, allocations: 0 / 1.278 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.674e-06/1.771, allocations: 0 / 1.278 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.723e-05/1.771, allocations: 0 / 1.278 GB, free: 17.55 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.002883/1.774, allocations: 1.811 MB / 1.28 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.774, allocations: 10 kB / 1.28 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/1.776, allocations: 412 kB / 1.28 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.778, allocations: 1.142 MB / 1.281 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.778, allocations: 106.8 kB / 1.282 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.778, allocations: 140.7 kB / 1.282 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/1.78, allocations: 1.631 MB / 1.283 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.78, allocations: 4.719 kB / 1.283 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.78, allocations: 53.16 kB / 1.283 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/1.78, allocations: 56.73 kB / 1.283 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.782, allocations: 1.324 MB / 1.285 GB, free: 15.8 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.007163/1.789, allocations: 7.159 MB / 1.292 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/1.79, allocations: 0.9229 MB / 1.293 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/1.791, allocations: 476 kB / 1.293 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/1.792, allocations: 430.4 kB / 1.293 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.792, allocations: 41.44 kB / 1.293 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/1.792, allocations: 0 / 1.293 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.002747/1.795, allocations: 1.662 MB / 1.295 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.795, allocations: 63.91 kB / 1.295 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.796, allocations: 1.193 MB / 1.296 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.796, allocations: 45.52 kB / 1.296 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/1.797, allocations: 0.7141 MB / 1.297 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/1.797, allocations: 302.1 kB / 1.297 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.797, allocations: 91.5 kB / 1.297 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.797, allocations: 344.4 kB / 1.298 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.798, allocations: 362 kB / 1.298 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007591/1.798, allocations: 0.723 MB / 1.299 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.8, allocations: 1.073 MB / 1.3 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.8, allocations: 6.5 kB / 1.3 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001826/1.801, allocations: 1.281 MB / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/1.802, allocations: 342.4 kB / 1.301 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.802, allocations: 6.375 kB / 1.301 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/1.802, allocations: 138.7 kB / 1.302 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/1.803, allocations: 219.3 kB / 1.302 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/1.807, allocations: 5.428 MB / 1.307 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.809, allocations: 194.7 kB / 1.307 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/1.809, allocations: 49.83 kB / 1.307 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.809, allocations: 3.312 kB / 1.307 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001702/1.811, allocations: 1.132 MB / 1.308 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.811, allocations: 10.69 kB / 1.308 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/1.811, allocations: 134.5 kB / 1.309 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/1.812, allocations: 207.2 kB / 1.309 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/1.816, allocations: 4.841 MB / 1.313 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.817, allocations: 180.3 kB / 1.314 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/1.817, allocations: 46.7 kB / 1.314 GB, free: 15.68 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.0008719/1.818, allocations: 0.5014 MB / 1.314 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.818, allocations: 148.5 kB / 1.314 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.82, allocations: 1.074 MB / 1.315 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.82, allocations: 8.031 kB / 1.315 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.82, allocations: 3.312 kB / 1.315 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/1.821, allocations: 1.03 MB / 1.316 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/1.825, allocations: 2.587 MB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.825, allocations: 2.625 kB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/1.826, allocations: 160.3 kB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/1.826, allocations: 126.9 kB / 1.319 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/1.826, allocations: 27.47 kB / 1.319 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/1.83, allocations: 5.411 MB / 1.325 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.83, allocations: 4.438 kB / 1.325 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/1.833, allocations: 1.655 MB / 1.326 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/1.833, allocations: 329.1 kB / 1.326 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.833, allocations: 22.72 kB / 1.326 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/1.834, allocations: 93.59 kB / 1.327 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.834, allocations: 58.48 kB / 1.327 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/1.835, allocations: 32.2 kB / 1.327 GB, free: 9.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001014/1.836, allocations: 0.8259 MB / 1.327 GB, free: 9.242 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.836, allocations: 0 / 1.327 GB, free: 9.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002446/1.838, allocations: 0.825 MB / 1.328 GB, free: 9.145 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.0005497/1.839, allocations: 244.2 kB / 1.328 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.842, allocations: 2.204 MB / 1.331 GB, free: 8.328 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.842, allocations: 3.438 kB / 1.331 GB, free: 8.328 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/1.843, allocations: 0.8001 MB / 1.331 GB, free: 7.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/1.847, allocations: 0.8047 MB / 1.332 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/1.852, allocations: 3.591 MB / 1.336 GB, free: 6.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/1.853, allocations: 1.401 MB / 1.337 GB, free: 5.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001687/1.855, allocations: 454 kB / 1.338 GB, free: 5.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.855, allocations: 108.1 kB / 1.338 GB, free: 5.246 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/1.855, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.014 GB Notification: Performance of Templates: time 0.05109/1.906, allocations: 30.27 MB / 1.367 GB, free: 2.547 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches