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.0008419/0.0008419, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005355/0.005355, allocations: 171.8 kB / 16.27 MB, free: 6.324 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 443.3 MB / 0.7175 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.000481, allocations: 11 kB / 0.8796 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 155.2 MB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2535/0.6063, allocations: 215.7 MB / 1.242 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7073/1.314, allocations: 22.17 MB / 1.263 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/1.316, allocations: 47.91 kB / 1.263 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/1.319, allocations: 0.6775 MB / 1.264 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01526/1.334, allocations: 4.135 MB / 1.268 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/1.339, allocations: 1.112 MB / 1.269 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01043/1.35, allocations: 5.665 MB / 1.275 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003721/1.353, allocations: 1.343 MB / 1.276 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/1.359, allocations: 1.589 MB / 1.278 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/1.365, allocations: 1.607 MB / 1.279 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005302/1.366, allocations: 78.25 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00687/1.372, allocations: 2.417 MB / 1.282 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.374, allocations: 0.6726 MB / 1.282 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004544/1.379, allocations: 0.9111 MB / 1.283 GB, free: 17.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00914/1.388, allocations: 3.126 MB / 1.286 GB, free: 17.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.388, allocations: 1 kB / 1.286 GB, free: 17.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.376e-06/1.388, allocations: 0 / 1.286 GB, free: 17.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.394e-05/1.388, allocations: 0 / 1.286 GB, free: 17.72 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.004679/1.393, allocations: 1.814 MB / 1.288 GB, free: 16.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.393, allocations: 9.844 kB / 1.288 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/1.395, allocations: 404.5 kB / 1.288 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/1.398, allocations: 1.15 MB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/1.398, allocations: 106.4 kB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.398, allocations: 136.7 kB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/1.401, allocations: 1.635 MB / 1.291 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/1.401, allocations: 1.344 kB / 1.291 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.401, allocations: 54.69 kB / 1.291 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/1.401, allocations: 51.33 kB / 1.291 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/1.403, allocations: 1.331 MB / 1.293 GB, free: 15.96 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.008797/1.412, allocations: 7.157 MB / 1.3 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/1.414, allocations: 0.9228 MB / 1.301 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/1.414, allocations: 476.8 kB / 1.301 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008456/1.415, allocations: 434 kB / 1.301 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.415, allocations: 44.22 kB / 1.302 GB, free: 11.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.236e-06/1.415, allocations: 0 / 1.302 GB, free: 11.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003241/1.418, allocations: 1.656 MB / 1.303 GB, free: 11.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.418, allocations: 60.84 kB / 1.303 GB, free: 10.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.42, allocations: 1.197 MB / 1.304 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/1.42, allocations: 50.89 kB / 1.304 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/1.421, allocations: 0.7135 MB / 1.305 GB, free: 10.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/1.421, allocations: 300.7 kB / 1.305 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.421, allocations: 86.34 kB / 1.305 GB, free: 10.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.422, allocations: 342.1 kB / 1.306 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/1.422, allocations: 367.6 kB / 1.306 GB, free: 9.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/1.423, allocations: 0.7256 MB / 1.307 GB, free: 9.582 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/1.424, allocations: 1.074 MB / 1.308 GB, free: 9.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.424, allocations: 3 kB / 1.308 GB, free: 9.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00208/1.426, allocations: 1.283 MB / 1.309 GB, free: 9.105 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002683/1.427, allocations: 342.5 kB / 1.31 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.427, allocations: 9.5 kB / 1.31 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/1.427, allocations: 131 kB / 1.31 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.428, allocations: 224.7 kB / 1.31 GB, free: 8.684 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005723/1.434, allocations: 5.422 MB / 1.315 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/1.437, allocations: 202.6 kB / 1.315 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.437, allocations: 45.59 kB / 1.315 GB, free: 4.008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.437, allocations: 6.188 kB / 1.315 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002019/1.439, allocations: 1.132 MB / 1.317 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.439, allocations: 12.03 kB / 1.317 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/1.439, allocations: 126 kB / 1.317 GB, free: 3.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008564/1.44, allocations: 213.2 kB / 1.317 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/1.445, allocations: 4.837 MB / 1.322 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.447, allocations: 184.7 kB / 1.322 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.447, allocations: 51.69 kB / 1.322 GB, free: 15.85 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.001117/1.448, allocations: 0.4954 MB / 1.322 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.449, allocations: 140.2 kB / 1.322 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.451, allocations: 1.079 MB / 1.323 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.451, allocations: 8.219 kB / 1.323 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.451, allocations: 0 / 1.323 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/1.452, allocations: 1.032 MB / 1.324 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/1.456, allocations: 2.583 MB / 1.327 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.456, allocations: 6.938 kB / 1.327 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/1.457, allocations: 159.7 kB / 1.327 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/1.458, allocations: 126 kB / 1.327 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/1.458, allocations: 25.58 kB / 1.327 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/1.462, allocations: 5.412 MB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/1.462, allocations: 13.69 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.465, allocations: 1.653 MB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.466, allocations: 325.8 kB / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.466, allocations: 23.91 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.467, allocations: 90.97 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.468, allocations: 67.45 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/1.468, allocations: 33.52 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001498/1.469, allocations: 0.8132 MB / 1.336 GB, free: 9.445 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.469, allocations: 0 / 1.336 GB, free: 9.445 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003638/1.473, allocations: 0.828 MB / 1.336 GB, free: 9.344 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.0009152/1.474, allocations: 256 kB / 1.337 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003911/1.478, allocations: 2.202 MB / 1.339 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.478, allocations: 3.031 kB / 1.339 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.479, allocations: 0.8005 MB / 1.34 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/1.484, allocations: 0.789 MB / 1.34 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/1.491, allocations: 3.605 MB / 1.344 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.493, allocations: 1.396 MB / 1.345 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002362/1.495, allocations: 447.1 kB / 1.346 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.496, allocations: 105.2 kB / 1.346 GB, free: 5.445 MB / 1.029 GB Notification: Performance of SimCode: time 1.823e-06/1.496, allocations: 4 kB / 1.346 GB, free: 5.441 MB / 1.029 GB Notification: Performance of Templates: time 0.0605/1.556, allocations: 30.28 MB / 1.375 GB, free: 7.527 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches