Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001332/0.001332, allocations: 191 kB / 16.91 MB, free: 6.184 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.97 kB / 0.8127 GB, free: 33.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003562/0.3202, allocations: 1.562 MB / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.4672, allocations: 130.1 MB / 1.078 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.4673, allocations: 8 kB / 1.078 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.915e-05/0.4674, allocations: 0 / 1.078 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.4675, allocations: 7.922 kB / 1.078 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.4679, allocations: 55.78 kB / 1.078 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.4681, allocations: 55.8 kB / 1.078 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4682, allocations: 20.19 kB / 1.078 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.4683, allocations: 19.94 kB / 1.078 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.4683, allocations: 31.84 kB / 1.079 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4683, allocations: 4 kB / 1.079 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.4684, allocations: 19.98 kB / 1.079 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.4685, allocations: 4 kB / 1.079 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.4685, allocations: 27.86 kB / 1.079 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.4687, allocations: 35.94 kB / 1.079 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4687, allocations: 4 kB / 1.079 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4687, allocations: 0 / 1.079 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4687, allocations: 0 / 1.079 GB, free: 4.812 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005786/0.4693, allocations: 379.3 kB / 1.079 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4693, allocations: 8.031 kB / 1.079 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.4694, allocations: 8.844 kB / 1.079 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4695, allocations: 168.3 kB / 1.079 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4695, allocations: 4.375 kB / 1.079 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4695, allocations: 4.375 kB / 1.079 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.4698, allocations: 78.2 kB / 1.079 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4698, allocations: 192 / 1.079 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4699, allocations: 7.875 kB / 1.079 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4699, allocations: 4 kB / 1.079 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.4702, allocations: 63.92 kB / 1.079 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.4706, allocations: 292.7 kB / 1.08 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4709, allocations: 46.55 kB / 1.08 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.471, allocations: 48.84 kB / 1.08 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.4712, allocations: 93.09 kB / 1.08 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4713, allocations: 30.56 kB / 1.08 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.4713, allocations: 0 / 1.08 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005412/0.4718, allocations: 133.4 kB / 1.08 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.4719, allocations: 55.41 kB / 1.08 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.472, allocations: 121.8 kB / 1.08 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.472, allocations: 25.7 kB / 1.08 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.4721, allocations: 88.16 kB / 1.08 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4721, allocations: 15.89 kB / 1.08 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.4721, allocations: 9.719 kB / 1.08 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.4723, allocations: 326.8 kB / 1.081 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4724, allocations: 31.97 kB / 1.081 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4725, allocations: 31.95 kB / 1.081 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.4728, allocations: 68.78 kB / 1.081 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4728, allocations: 3.938 kB / 1.081 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003092/0.4731, allocations: 105.8 kB / 1.081 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4732, allocations: 8 kB / 1.081 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4732, allocations: 48 / 1.081 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4732, allocations: 3.984 kB / 1.081 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4733, allocations: 15.98 kB / 1.081 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4733, allocations: 0 / 1.081 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.4734, allocations: 19.97 kB / 1.081 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.4734, allocations: 3.984 kB / 1.081 GB, free: 2.309 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.4735, allocations: 116.6 kB / 1.081 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4736, allocations: 7.906 kB / 1.081 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.4739, allocations: 105.5 kB / 1.081 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4739, allocations: 0 / 1.081 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.474, allocations: 7.938 kB / 1.081 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.474, allocations: 0 / 1.081 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.4742, allocations: 173.6 kB / 1.081 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4742, allocations: 4 kB / 1.081 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.4743, allocations: 15.98 kB / 1.081 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4743, allocations: 0 / 1.081 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4743, allocations: 4 kB / 1.081 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4743, allocations: 0 / 1.081 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4743, allocations: 0 / 1.081 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4747, allocations: 199.3 kB / 1.081 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4747, allocations: 85.02 kB / 1.082 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4747, allocations: 4 kB / 1.082 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4749, allocations: 7.984 kB / 1.082 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4749, allocations: 11.98 kB / 1.082 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4749, allocations: 3.938 kB / 1.082 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.475, allocations: 91.27 kB / 1.082 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.475, allocations: 4 kB / 1.082 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002323/0.4752, allocations: 19.94 kB / 1.082 GB, free: 1.359 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.4754, allocations: 103.2 kB / 1.082 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.4757, allocations: 75.92 kB / 1.082 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4758, allocations: 0 / 1.082 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4759, allocations: 35.91 kB / 1.082 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4763, allocations: 23.92 kB / 1.082 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.4767, allocations: 193.4 kB / 1.082 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.477, allocations: 0.6883 MB / 1.083 GB, free: 188 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.477, allocations: 7.438 kB / 1.083 GB, free: 180 kB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.477, allocations: 0 / 1.083 GB, free: 180 kB / 0.8575 GB Notification: Performance of Templates: time 0.4305/0.9075, allocations: 0.9243 MB / 1.084 GB, free: 140.8 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches