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.001262/0.001262, 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.001371/0.001371, allocations: 193.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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.55 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2808, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003033/0.2839, allocations: 1.498 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.4242, allocations: 132.1 MB / 1.194 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.4243, allocations: 4 kB / 1.194 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.4244, allocations: 7.922 kB / 1.194 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.4245, allocations: 15.86 kB / 1.194 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.4248, allocations: 64 kB / 1.194 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.4249, allocations: 51.8 kB / 1.194 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.425, allocations: 15.92 kB / 1.194 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.4251, allocations: 23.92 kB / 1.194 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.4251, allocations: 19.92 kB / 1.194 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4252, allocations: 4 kB / 1.194 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.4253, allocations: 27.92 kB / 1.194 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.4253, allocations: 7.984 kB / 1.194 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.4253, allocations: 27.86 kB / 1.194 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.4255, allocations: 55.81 kB / 1.194 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4255, allocations: 0 / 1.194 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4255, allocations: 0 / 1.194 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4255, allocations: 4 kB / 1.194 GB, free: 8.102 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.0004894/0.426, allocations: 367.4 kB / 1.195 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.426, allocations: 16.03 kB / 1.195 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.4261, allocations: 34.73 kB / 1.195 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.4261, allocations: 8.844 kB / 1.195 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4262, allocations: 176.2 kB / 1.195 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4263, allocations: 8.375 kB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.4263, allocations: 384 / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.4265, allocations: 78.14 kB / 1.195 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4265, allocations: 3.938 kB / 1.195 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4266, allocations: 8 kB / 1.195 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4266, allocations: 0 / 1.195 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.4269, allocations: 63.92 kB / 1.195 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.4272, allocations: 284.7 kB / 1.195 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4274, allocations: 62.48 kB / 1.195 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.4276, allocations: 36.91 kB / 1.196 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.4277, allocations: 89.09 kB / 1.196 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4278, allocations: 38.56 kB / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4278, allocations: 0 / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005142/0.4283, allocations: 125.5 kB / 1.196 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4283, allocations: 55.39 kB / 1.196 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.4284, allocations: 117.8 kB / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.4285, allocations: 29.7 kB / 1.196 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.4285, allocations: 92.02 kB / 1.196 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4285, allocations: 15.81 kB / 1.196 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.4286, allocations: 13.7 kB / 1.196 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4287, allocations: 322.8 kB / 1.196 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4288, allocations: 31.95 kB / 1.196 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.429, allocations: 35.97 kB / 1.196 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.4293, allocations: 64.78 kB / 1.197 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4293, allocations: 0 / 1.197 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003194/0.4296, allocations: 105.6 kB / 1.197 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4296, allocations: 5.562 kB / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4296, allocations: 0 / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.4296, allocations: 0 / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4297, allocations: 19.97 kB / 1.197 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4298, allocations: 0 / 1.197 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.4298, allocations: 15.89 kB / 1.197 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.4299, allocations: 0 / 1.197 GB, free: 5.57 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 7.079e-05/0.4299, allocations: 117.8 kB / 1.197 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.43, allocations: 4 kB / 1.197 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4303, allocations: 105.8 kB / 1.197 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4303, allocations: 4.031 kB / 1.197 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4303, allocations: 7.875 kB / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4304, allocations: 0 / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.4305, allocations: 181.7 kB / 1.197 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4305, allocations: 0 / 1.197 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.4306, allocations: 11.98 kB / 1.197 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4306, allocations: 0 / 1.197 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4306, allocations: 11.98 kB / 1.197 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4307, allocations: 0 / 1.197 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4307, allocations: 0 / 1.197 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.431, allocations: 195.3 kB / 1.197 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.4311, allocations: 85.11 kB / 1.197 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4311, allocations: 0 / 1.197 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4312, allocations: 15.97 kB / 1.197 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.4312, allocations: 0 / 1.197 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4312, allocations: 0 / 1.197 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.4313, allocations: 107.6 kB / 1.197 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4313, allocations: 3.938 kB / 1.197 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002265/0.4315, allocations: 19.94 kB / 1.197 GB, free: 4.613 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.0006689/0.4322, allocations: 0.7479 MB / 1.198 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.4326, allocations: 67.92 kB / 1.198 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4326, allocations: 3.938 kB / 1.198 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4327, allocations: 31.97 kB / 1.198 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.433, allocations: 15.98 kB / 1.198 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4348, allocations: 1.414 MB / 1.2 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4351, allocations: 0.6807 MB / 1.2 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.4351, allocations: 15.83 kB / 1.2 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4352, allocations: 23.42 kB / 1.2 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.4352, allocations: 4 kB / 1.2 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.468, allocations: 2.036 MB / 1.202 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.782, allocations: 9.5 kB / 1.202 GB, free: 15.53 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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