Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001019/0.001019, allocations: 90.44 kB / 16.02 MB, free: 80 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.001489/0.001489, allocations: 184.4 kB / 16.92 MB, free: 6.926 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.576/1.576, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.864/2.864, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003837, allocations: 13.34 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 1.063/1.406, allocations: 215.7 MB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02665/1.432, allocations: 22.21 MB / 1.292 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/1.435, allocations: 48.09 kB / 1.292 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/1.437, allocations: 0.6759 MB / 1.292 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.451, allocations: 4.132 MB / 1.296 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/1.454, allocations: 1.111 MB / 1.297 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007939/1.462, allocations: 5.667 MB / 1.303 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/1.465, allocations: 1.329 MB / 1.304 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/1.469, allocations: 1.583 MB / 1.306 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/1.474, allocations: 1.611 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/1.474, allocations: 74.47 kB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006231/1.48, allocations: 2.417 MB / 1.31 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/1.482, allocations: 0.6828 MB / 1.31 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.484, allocations: 0.9055 MB / 1.311 GB, free: 17.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.487, allocations: 2.306 MB / 1.314 GB, free: 17.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.487, allocations: 0 / 1.314 GB, free: 17.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.615e-06/1.487, allocations: 6.562 kB / 1.314 GB, free: 17.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.029e-05/1.487, allocations: 0 / 1.314 GB, free: 17.61 MB / 1.014 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.003141/1.49, allocations: 1.812 MB / 1.315 GB, free: 16.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.49, allocations: 12.88 kB / 1.315 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/1.493, allocations: 405.3 kB / 1.316 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/1.495, allocations: 1.153 MB / 1.317 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/1.495, allocations: 100.7 kB / 1.317 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/1.495, allocations: 143.1 kB / 1.317 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/1.497, allocations: 1.635 MB / 1.319 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.498, allocations: 5.531 kB / 1.319 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.498, allocations: 52.03 kB / 1.319 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/1.498, allocations: 52.3 kB / 1.319 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.5, allocations: 1.325 MB / 1.32 GB, free: 15.84 MB / 1.014 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.008149/1.508, allocations: 7.16 MB / 1.327 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/1.509, allocations: 0.9233 MB / 1.328 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/1.51, allocations: 477.3 kB / 1.329 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/1.511, allocations: 437.1 kB / 1.329 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.511, allocations: 41.06 kB / 1.329 GB, free: 11.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/1.511, allocations: 0 / 1.329 GB, free: 11.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.002986/1.514, allocations: 1.656 MB / 1.331 GB, free: 10.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.514, allocations: 61.12 kB / 1.331 GB, free: 10.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.515, allocations: 1.195 MB / 1.332 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.515, allocations: 46.36 kB / 1.332 GB, free: 10.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.516, allocations: 0.7223 MB / 1.333 GB, free: 10.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.516, allocations: 296.4 kB / 1.333 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.516, allocations: 89.09 kB / 1.333 GB, free: 10.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.516, allocations: 339.2 kB / 1.333 GB, free: 9.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/1.517, allocations: 368.8 kB / 1.334 GB, free: 9.816 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/1.518, allocations: 0.7253 MB / 1.334 GB, free: 9.414 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/1.519, allocations: 1.064 MB / 1.335 GB, free: 9.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.519, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002081/1.521, allocations: 1.288 MB / 1.337 GB, free: 8.949 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/1.521, allocations: 344.2 kB / 1.337 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.521, allocations: 9.188 kB / 1.337 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/1.522, allocations: 136.5 kB / 1.337 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/1.523, allocations: 220.6 kB / 1.337 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/1.527, allocations: 5.428 MB / 1.343 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.529, allocations: 210.5 kB / 1.343 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.529, allocations: 45.89 kB / 1.343 GB, free: 3.832 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.529, allocations: 2.188 kB / 1.343 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/1.531, allocations: 1.128 MB / 1.344 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.531, allocations: 9.375 kB / 1.344 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/1.531, allocations: 136.8 kB / 1.344 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/1.532, allocations: 207.6 kB / 1.344 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/1.536, allocations: 4.827 MB / 1.349 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.538, allocations: 186.8 kB / 1.349 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/1.538, allocations: 44.2 kB / 1.349 GB, free: 15.68 MB / 1.029 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.0009689/1.539, allocations: 0.5 MB / 1.35 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/1.539, allocations: 150.5 kB / 1.35 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/1.541, allocations: 1.068 MB / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.541, allocations: 11.25 kB / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.541, allocations: 0 / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/1.543, allocations: 1.03 MB / 1.352 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/1.547, allocations: 2.586 MB / 1.354 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.547, allocations: 5.969 kB / 1.354 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/1.548, allocations: 163.1 kB / 1.355 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/1.548, allocations: 126.3 kB / 1.355 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/1.548, allocations: 24.05 kB / 1.355 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/1.552, allocations: 5.41 MB / 1.36 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.552, allocations: 3.312 kB / 1.36 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/1.555, allocations: 1.65 MB / 1.362 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/1.556, allocations: 336.2 kB / 1.362 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/1.556, allocations: 16.66 kB / 1.362 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/1.557, allocations: 89.72 kB / 1.362 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.557, allocations: 73.91 kB / 1.362 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/1.557, allocations: 30.97 kB / 1.362 GB, free: 9.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001053/1.558, allocations: 0.814 MB / 1.363 GB, free: 9.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.022e-06/1.558, allocations: 0 / 1.363 GB, free: 9.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002511/1.56, allocations: 0.8304 MB / 1.364 GB, free: 9.141 MB / 1.029 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.0006604/1.561, allocations: 251.7 kB / 1.364 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003222/1.564, allocations: 2.197 MB / 1.366 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.564, allocations: 4.188 kB / 1.366 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/1.565, allocations: 0.7947 MB / 1.367 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/1.57, allocations: 0.7982 MB / 1.368 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.575, allocations: 3.702 MB / 1.371 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.576, allocations: 1.389 MB / 1.373 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/1.577, allocations: 116.2 kB / 1.373 GB, free: 4.238 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.577, allocations: 0 / 1.373 GB, free: 4.238 MB / 1.029 GB Notification: Performance of Templates: time 0.0646/1.641, allocations: 50.26 MB / 1.422 GB, free: 11.22 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_PPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches