Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.001584/0.001584, allocations: 108 kB / 15.6 MB, free: 132 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.001763/0.001763, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7346 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 70.06 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2615, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002721/0.2643, allocations: 1.501 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.4014, allocations: 132.1 MB / 1.183 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.4015, allocations: 0 / 1.183 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.4016, allocations: 3.938 kB / 1.183 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.4017, allocations: 11.86 kB / 1.183 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.402, allocations: 72 kB / 1.183 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.4021, allocations: 51.78 kB / 1.183 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.4022, allocations: 15.94 kB / 1.183 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.4023, allocations: 27.91 kB / 1.184 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.4023, allocations: 23.91 kB / 1.184 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.4024, allocations: 4 kB / 1.184 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.4025, allocations: 15.94 kB / 1.184 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.4025, allocations: 15.98 kB / 1.184 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.4025, allocations: 23.86 kB / 1.184 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.4027, allocations: 59.81 kB / 1.184 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4027, allocations: 0 / 1.184 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4027, allocations: 0 / 1.184 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4027, allocations: 0 / 1.184 GB, free: 1.84 MB / 0.9356 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.0005296/0.4032, allocations: 371.4 kB / 1.184 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4033, allocations: 8.625 kB / 1.184 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.4033, allocations: 34.75 kB / 1.184 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.4033, allocations: 8.844 kB / 1.184 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4035, allocations: 180.2 kB / 1.184 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.4035, allocations: 384 / 1.184 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4035, allocations: 8.375 kB / 1.184 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.4038, allocations: 74.16 kB / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.4038, allocations: 3.938 kB / 1.184 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4038, allocations: 0 / 1.184 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.4038, allocations: 7.984 kB / 1.184 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.4041, allocations: 67.92 kB / 1.184 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.4045, allocations: 276.8 kB / 1.185 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.4047, allocations: 62.47 kB / 1.185 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4049, allocations: 40.92 kB / 1.185 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.405, allocations: 89.09 kB / 1.185 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4051, allocations: 30.56 kB / 1.185 GB, free: 420 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4051, allocations: 4 kB / 1.185 GB, free: 416 kB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005785/0.4057, allocations: 133.4 kB / 1.185 GB, free: 276 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4057, allocations: 55.41 kB / 1.185 GB, free: 208 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.4058, allocations: 121.6 kB / 1.185 GB, free: 76 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4059, allocations: 25.7 kB / 1.185 GB, free: 44 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.4059, allocations: 104 kB / 1.185 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.406, allocations: 15.88 kB / 1.185 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.406, allocations: 13.72 kB / 1.185 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4061, allocations: 322.8 kB / 1.186 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4063, allocations: 35.97 kB / 1.186 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4064, allocations: 31.95 kB / 1.186 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.4067, allocations: 64.8 kB / 1.186 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4067, allocations: 0 / 1.186 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003594/0.4071, allocations: 105.5 kB / 1.186 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4071, allocations: 8 kB / 1.186 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4071, allocations: 0 / 1.186 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4072, allocations: 4 kB / 1.186 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4073, allocations: 11.98 kB / 1.186 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.4073, allocations: 0 / 1.186 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.4074, allocations: 11.98 kB / 1.186 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4074, allocations: 0 / 1.186 GB, free: 15.3 MB / 0.9512 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 8.141e-05/0.4075, allocations: 125.8 kB / 1.186 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.4075, allocations: 3.906 kB / 1.186 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4079, allocations: 101.5 kB / 1.186 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4079, allocations: 4 kB / 1.186 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4079, allocations: 3.938 kB / 1.186 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.408, allocations: 3.938 kB / 1.186 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.4081, allocations: 173.6 kB / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4082, allocations: 4 kB / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4083, allocations: 19.98 kB / 1.186 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4083, allocations: 0 / 1.186 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4083, allocations: 0 / 1.186 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4083, allocations: 0 / 1.186 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4083, allocations: 0 / 1.186 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4087, allocations: 207.7 kB / 1.186 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.4087, allocations: 77.11 kB / 1.187 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.4088, allocations: 4 kB / 1.187 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4089, allocations: 11.98 kB / 1.187 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4089, allocations: 3.984 kB / 1.187 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.4089, allocations: 4 kB / 1.187 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.409, allocations: 95.2 kB / 1.187 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.409, allocations: 7.938 kB / 1.187 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002424/0.4092, allocations: 19.94 kB / 1.187 GB, free: 14.34 MB / 0.9512 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.0006675/0.4099, allocations: 0.7357 MB / 1.187 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.4103, allocations: 67.92 kB / 1.187 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4103, allocations: 3.938 kB / 1.187 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4105, allocations: 35.95 kB / 1.188 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4108, allocations: 20 kB / 1.188 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4127, allocations: 1.422 MB / 1.189 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4129, allocations: 0.6846 MB / 1.19 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.413, allocations: 3.938 kB / 1.19 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.413, allocations: 19.44 kB / 1.19 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.413, allocations: 0 / 1.19 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.4355, allocations: 2.037 MB / 1.192 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/8.046, allocations: 16.05 kB / 1.192 GB, free: 9.262 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches