Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.00174/0.00174, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00144/0.00144, allocations: 190.6 kB / 16.25 MB, free: 6.59 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.941/3.941, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.39 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2893, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002565/0.2919, allocations: 1.341 MB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1243/0.4162, allocations: 130.1 MB / 1.181 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.4163, allocations: 0 / 1.181 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.4163, allocations: 0 / 1.181 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.4164, allocations: 7.922 kB / 1.181 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.4167, allocations: 47.8 kB / 1.181 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.4168, allocations: 31.86 kB / 1.181 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.4168, allocations: 0 / 1.181 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.4169, allocations: 4 kB / 1.181 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.4169, allocations: 15.81 kB / 1.181 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.417, allocations: 4 kB / 1.181 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.417, allocations: 8 kB / 1.181 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.4171, allocations: 7.984 kB / 1.181 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.4171, allocations: 11.92 kB / 1.181 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.4172, allocations: 24.2 kB / 1.181 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4172, allocations: 0 / 1.181 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4172, allocations: 0 / 1.181 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4172, allocations: 4 kB / 1.181 GB, free: 4.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003261/0.4175, allocations: 327.6 kB / 1.181 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4176, allocations: 12.62 kB / 1.181 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.4176, allocations: 38.62 kB / 1.181 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.4177, allocations: 0.9375 kB / 1.181 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.4178, allocations: 180.2 kB / 1.181 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.4178, allocations: 26.27 kB / 1.181 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.4178, allocations: 4.375 kB / 1.181 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.418, allocations: 46 kB / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.418, allocations: 0 / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.418, allocations: 0 / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.418, allocations: 0 / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.4181, allocations: 11.98 kB / 1.182 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.4182, allocations: 153.7 kB / 1.182 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.4183, allocations: 30.52 kB / 1.182 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.4184, allocations: 24.94 kB / 1.182 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4185, allocations: 89.09 kB / 1.182 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4186, allocations: 34.5 kB / 1.182 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4186, allocations: 0 / 1.182 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002086/0.4188, allocations: 53.69 kB / 1.182 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.4188, allocations: 63.33 kB / 1.182 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.4189, allocations: 102 kB / 1.182 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4189, allocations: 25.7 kB / 1.182 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.4189, allocations: 80.14 kB / 1.182 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4189, allocations: 7.906 kB / 1.182 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.419, allocations: 21.7 kB / 1.182 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.4191, allocations: 310.8 kB / 1.182 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.4191, allocations: 8 kB / 1.182 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.445e-05/0.4192, allocations: 11.98 kB / 1.182 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.4192, allocations: 24.84 kB / 1.183 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4193, allocations: 0 / 1.183 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001127/0.4194, allocations: 57.53 kB / 1.183 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4194, allocations: 9.812 kB / 1.183 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4194, allocations: 0 / 1.183 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4194, allocations: 0 / 1.183 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.4195, allocations: 4 kB / 1.183 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4195, allocations: 4 kB / 1.183 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.4195, allocations: 7.984 kB / 1.183 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.4195, allocations: 0 / 1.183 GB, free: 2.652 MB / 0.9356 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 6.177e-05/0.4196, allocations: 111.3 kB / 1.183 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.4196, allocations: 7.938 kB / 1.183 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.4198, allocations: 57.17 kB / 1.183 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4198, allocations: 0 / 1.183 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4198, allocations: 0 / 1.183 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4198, allocations: 8 kB / 1.183 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/0.4199, allocations: 169.5 kB / 1.183 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4199, allocations: 0 / 1.183 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.42, allocations: 4 kB / 1.183 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.42, allocations: 3.938 kB / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.42, allocations: 0 / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.42, allocations: 0 / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.42, allocations: 0 / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4201, allocations: 77.11 kB / 1.183 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.4202, allocations: 96.89 kB / 1.183 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4202, allocations: 0 / 1.183 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.4202, allocations: 3.984 kB / 1.183 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.4203, allocations: 4 kB / 1.183 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.4203, allocations: 0 / 1.183 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.4203, allocations: 75.7 kB / 1.183 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4203, allocations: 0 / 1.183 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001865/0.4205, allocations: 16 kB / 1.183 GB, free: 1.93 MB / 0.9356 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.0003712/0.4209, allocations: 0.6242 MB / 1.184 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.421, allocations: 28.02 kB / 1.184 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.421, allocations: 0 / 1.184 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.4211, allocations: 19.92 kB / 1.184 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4213, allocations: 7.938 kB / 1.184 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.4217, allocations: 157.5 kB / 1.184 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.4219, allocations: 0.6768 MB / 1.185 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.4219, allocations: 4 kB / 1.185 GB, free: 324 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.4219, allocations: 11.44 kB / 1.185 GB, free: 312 kB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.4219, allocations: 0 / 1.185 GB, free: 312 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.05/2.472, allocations: 1.25 MB / 1.186 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/2.473, allocations: 227.6 kB / 1.186 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/4.806, allocations: 3.938 kB / 1.186 GB, free: 14.96 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches