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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.004915/0.004915, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001074/0.001074, allocations: 195.8 kB / 16.68 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.172/2.172, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7481, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002447/0.7506, allocations: 1.493 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.905, allocations: 132.1 MB / 1.218 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.9051, allocations: 5.234 kB / 1.218 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.9051, allocations: 7.938 kB / 1.218 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.9052, allocations: 13.33 kB / 1.218 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.9056, allocations: 66.56 kB / 1.218 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.9057, allocations: 53.97 kB / 1.218 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.9058, allocations: 17.55 kB / 1.218 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.9059, allocations: 24.36 kB / 1.218 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.9059, allocations: 23.33 kB / 1.218 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.9059, allocations: 3.438 kB / 1.218 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.906, allocations: 18.61 kB / 1.218 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.9061, allocations: 13.36 kB / 1.218 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.9061, allocations: 21.72 kB / 1.218 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.9063, allocations: 62.33 kB / 1.218 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9063, allocations: 1 kB / 1.218 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9063, allocations: 0 / 1.218 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.9063, allocations: 0 / 1.218 GB, free: 1.961 MB / 0.9512 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.0005023/0.9068, allocations: 380.2 kB / 1.219 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.9069, allocations: 10.16 kB / 1.219 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.9069, allocations: 34.69 kB / 1.219 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.907, allocations: 8.906 kB / 1.219 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.9071, allocations: 171 kB / 1.219 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.9071, allocations: 1.5 kB / 1.219 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.9071, allocations: 5.969 kB / 1.219 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.9074, allocations: 75.14 kB / 1.219 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.9074, allocations: 11.92 kB / 1.219 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.9074, allocations: 3.938 kB / 1.219 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9074, allocations: 1.312 kB / 1.219 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.9077, allocations: 65.73 kB / 1.219 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.9081, allocations: 286.3 kB / 1.219 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.9083, allocations: 57.42 kB / 1.219 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.9085, allocations: 43.53 kB / 1.219 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.9086, allocations: 89.28 kB / 1.219 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.9087, allocations: 35.59 kB / 1.219 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.9087, allocations: 0 / 1.219 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005953/0.9093, allocations: 127.5 kB / 1.22 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.9093, allocations: 52.62 kB / 1.22 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.9094, allocations: 123.3 kB / 1.22 GB, free: 448 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.9095, allocations: 27.02 kB / 1.22 GB, free: 416 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.9095, allocations: 85.45 kB / 1.22 GB, free: 328 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.9095, allocations: 13.36 kB / 1.22 GB, free: 316 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.9096, allocations: 16.75 kB / 1.22 GB, free: 296 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9097, allocations: 320.3 kB / 1.22 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.9098, allocations: 32.86 kB / 1.22 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.91, allocations: 34.88 kB / 1.22 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.9103, allocations: 67.47 kB / 1.22 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9103, allocations: 0 / 1.22 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003503/0.9106, allocations: 105.9 kB / 1.22 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9107, allocations: 5.406 kB / 1.22 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9107, allocations: 0 / 1.22 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9107, allocations: 1.219 kB / 1.22 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.9108, allocations: 18.53 kB / 1.22 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9109, allocations: 7.875 kB / 1.22 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.9109, allocations: 15.7 kB / 1.22 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.911, allocations: 0 / 1.22 GB, free: 15.81 MB / 0.9669 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.857e-05/0.911, allocations: 121.1 kB / 1.221 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.9111, allocations: 10.41 kB / 1.221 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.9115, allocations: 104.2 kB / 1.221 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9115, allocations: 1.094 kB / 1.221 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9115, allocations: 0 / 1.221 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9115, allocations: 9.109 kB / 1.221 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.9117, allocations: 170.3 kB / 1.221 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9117, allocations: 0.9062 kB / 1.221 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.9118, allocations: 21.91 kB / 1.221 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.9119, allocations: 1.281 kB / 1.221 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.9119, allocations: 0 / 1.221 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9119, allocations: 5.031 kB / 1.221 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9119, allocations: 0 / 1.221 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.9123, allocations: 200.7 kB / 1.221 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.9123, allocations: 79.17 kB / 1.221 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.9124, allocations: 5.078 kB / 1.221 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9125, allocations: 14.61 kB / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.9125, allocations: 2.062 kB / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.9126, allocations: 1.5 kB / 1.221 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.9126, allocations: 95.89 kB / 1.221 GB, free: 15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9126, allocations: 0 / 1.221 GB, free: 15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002428/0.9129, allocations: 12.31 kB / 1.221 GB, free: 15 MB / 0.9669 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.0007259/0.9136, allocations: 0.7486 MB / 1.222 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.914, allocations: 70.36 kB / 1.222 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.914, allocations: 0 / 1.222 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.9142, allocations: 41.34 kB / 1.222 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.9145, allocations: 10.08 kB / 1.222 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.9163, allocations: 1.428 MB / 1.223 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.9165, allocations: 0.685 MB / 1.224 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.9165, allocations: 2.188 kB / 1.224 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.9166, allocations: 14.59 kB / 1.224 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.9166, allocations: 192 / 1.224 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.9331, allocations: 2.067 MB / 1.226 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/8.306, allocations: 15.77 kB / 1.226 GB, free: 11.09 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > 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