Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004694/0.004693, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001208/0.001208, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 67.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3311, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002304/0.3335, allocations: 1.501 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6229/0.9564, allocations: 132.1 MB / 1.351 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.9565, allocations: 0 / 1.351 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.9565, allocations: 5.703 kB / 1.351 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.9566, allocations: 11.17 kB / 1.351 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.9569, allocations: 67.61 kB / 1.351 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.957, allocations: 48.08 kB / 1.351 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.9571, allocations: 16.42 kB / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.9572, allocations: 20.38 kB / 1.351 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.9572, allocations: 25.39 kB / 1.351 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.9572, allocations: 4.312 kB / 1.351 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.9573, allocations: 24.03 kB / 1.351 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.9573, allocations: 7.844 kB / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.9574, allocations: 28.78 kB / 1.351 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.9575, allocations: 56.83 kB / 1.351 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9575, allocations: 4.844 kB / 1.351 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9575, allocations: 0 / 1.351 GB, free: 11.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.9576, allocations: 2.531 kB / 1.351 GB, free: 11.1 MB / 1.061 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.0004842/0.958, allocations: 373.7 kB / 1.351 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.9581, allocations: 8.812 kB / 1.351 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.9581, allocations: 36.5 kB / 1.351 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.9581, allocations: 4.219 kB / 1.351 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.9583, allocations: 181.3 kB / 1.351 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.9583, allocations: 1.438 kB / 1.351 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.9583, allocations: 2.594 kB / 1.351 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.9585, allocations: 80.53 kB / 1.352 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.9586, allocations: 4.641 kB / 1.352 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.9586, allocations: 0 / 1.352 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.9586, allocations: 2.281 kB / 1.352 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.9589, allocations: 69.69 kB / 1.352 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.9592, allocations: 286.7 kB / 1.352 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.9594, allocations: 52.08 kB / 1.352 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.9596, allocations: 45.39 kB / 1.352 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.9597, allocations: 93.3 kB / 1.352 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.9598, allocations: 31.94 kB / 1.352 GB, free: 9.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9598, allocations: 0 / 1.352 GB, free: 9.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005299/0.9603, allocations: 137.2 kB / 1.352 GB, free: 9.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.9604, allocations: 52.69 kB / 1.352 GB, free: 9.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.9605, allocations: 116.3 kB / 1.352 GB, free: 9.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.9605, allocations: 26.77 kB / 1.352 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.9605, allocations: 88.25 kB / 1.353 GB, free: 9.594 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.9606, allocations: 9.5 kB / 1.353 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.9606, allocations: 25.73 kB / 1.353 GB, free: 9.559 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9607, allocations: 318 kB / 1.353 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.9609, allocations: 31.39 kB / 1.353 GB, free: 9.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.961, allocations: 32.11 kB / 1.353 GB, free: 9.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.9613, allocations: 70.84 kB / 1.353 GB, free: 9.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9613, allocations: 0 / 1.353 GB, free: 9.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.9616, allocations: 103 kB / 1.353 GB, free: 9.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9616, allocations: 7.312 kB / 1.353 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9616, allocations: 0 / 1.353 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.9617, allocations: 4.984 kB / 1.353 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.9618, allocations: 25.3 kB / 1.353 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.9618, allocations: 0 / 1.353 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.9619, allocations: 12.44 kB / 1.353 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.9619, allocations: 0.9062 kB / 1.353 GB, free: 9.156 MB / 1.061 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 7.579e-05/0.962, allocations: 112 kB / 1.353 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.962, allocations: 12.16 kB / 1.353 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.9623, allocations: 112.5 kB / 1.353 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9624, allocations: 1.156 kB / 1.353 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9624, allocations: 1.734 kB / 1.353 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.9624, allocations: 0.9375 kB / 1.353 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.9626, allocations: 172.4 kB / 1.354 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9626, allocations: 1.641 kB / 1.354 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.9627, allocations: 15.59 kB / 1.354 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9627, allocations: 4 kB / 1.354 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.9627, allocations: 7.422 kB / 1.354 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9627, allocations: 0 / 1.354 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9627, allocations: 0 / 1.354 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.963, allocations: 191.7 kB / 1.354 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.9631, allocations: 87.66 kB / 1.354 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.9631, allocations: 5 kB / 1.354 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9632, allocations: 15.64 kB / 1.354 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.9633, allocations: 4.422 kB / 1.354 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.9633, allocations: 1.062 kB / 1.354 GB, free: 8.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.9633, allocations: 91.41 kB / 1.354 GB, free: 8.434 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9633, allocations: 0 / 1.354 GB, free: 8.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002167/0.9636, allocations: 16.34 kB / 1.354 GB, free: 8.43 MB / 1.061 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.0006779/0.9643, allocations: 0.7393 MB / 1.355 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.9646, allocations: 75.28 kB / 1.355 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9646, allocations: 1.062 kB / 1.355 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.9648, allocations: 38.61 kB / 1.355 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.9651, allocations: 20.3 kB / 1.355 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.9668, allocations: 1.421 MB / 1.356 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.9671, allocations: 0.6869 MB / 1.357 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.9671, allocations: 6.75 kB / 1.357 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.9672, allocations: 19.33 kB / 1.357 GB, free: 5.77 MB / 1.061 GB Notification: Performance of SimCode: time 2.21e-07/0.9672, allocations: 0 / 1.357 GB, free: 5.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/2.317, allocations: 2.082 MB / 1.359 GB, free: 5.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/15.99, allocations: 5.062 kB / 1.359 GB, free: 5.352 MB / 1.061 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches