Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.001494/0.001495, 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.001601/0.001601, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.118/2.118, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 63.89 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5571, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002169/0.5593, allocations: 1.327 MB / 0.9505 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.118/0.6774, allocations: 130.1 MB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.6775, allocations: 0 / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.6775, allocations: 3.938 kB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.6776, allocations: 3.984 kB / 1.078 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.6779, allocations: 47.8 kB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.678, allocations: 31.8 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.678, allocations: 4 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.6781, allocations: 4 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.6781, allocations: 7.984 kB / 1.078 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.6782, allocations: 7.938 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-05/0.6782, allocations: 12 kB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.6782, allocations: 0 / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.6783, allocations: 15.97 kB / 1.078 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.6784, allocations: 26.05 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.6784, allocations: 4 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6784, allocations: 3.938 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.6784, allocations: 0 / 1.078 GB, free: 14 MB / 0.8419 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.000348/0.6788, allocations: 335.4 kB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6788, allocations: 12.03 kB / 1.078 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.6788, allocations: 34.75 kB / 1.078 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.6789, allocations: 4.938 kB / 1.078 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.679, allocations: 164.4 kB / 1.078 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.679, allocations: 30.27 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.679, allocations: 384 / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.6792, allocations: 45.98 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.6792, allocations: 0 / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.6792, allocations: 7.938 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6792, allocations: 0 / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.6793, allocations: 19.92 kB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.6794, allocations: 153.7 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.6795, allocations: 26.58 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.6796, allocations: 20.88 kB / 1.079 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6797, allocations: 89.09 kB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6797, allocations: 42.5 kB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6798, allocations: 4 kB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.68, allocations: 57.53 kB / 1.079 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.68, allocations: 55.39 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.6801, allocations: 97.86 kB / 1.079 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.6801, allocations: 25.7 kB / 1.079 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.6801, allocations: 80.14 kB / 1.079 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.6801, allocations: 15.84 kB / 1.079 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.6802, allocations: 17.7 kB / 1.079 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.6803, allocations: 314.8 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.6803, allocations: 4 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.6803, allocations: 7.984 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.6804, allocations: 20.84 kB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6804, allocations: 0 / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000116/0.6806, allocations: 57.62 kB / 1.079 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6806, allocations: 7.938 kB / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6806, allocations: 0 / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.6806, allocations: 0 / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.6807, allocations: 8 kB / 1.079 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6807, allocations: 0 / 1.079 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.6807, allocations: 7.984 kB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.6807, allocations: 0 / 1.079 GB, free: 12 MB / 0.8419 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 5.649e-05/0.6808, allocations: 113.8 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.6808, allocations: 7.844 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.681, allocations: 65.62 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.681, allocations: 0 / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.681, allocations: 0 / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.681, allocations: 4.031 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/0.6811, allocations: 153.7 kB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6811, allocations: 0 / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.6811, allocations: 4 kB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6811, allocations: 3.938 kB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.6812, allocations: 12 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6812, allocations: 0 / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6812, allocations: 3.938 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.6813, allocations: 77.05 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.6813, allocations: 81.05 kB / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.6814, allocations: 3.938 kB / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.6814, allocations: 7.984 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.6814, allocations: 8 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.6814, allocations: 0 / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.6815, allocations: 79.28 kB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.6815, allocations: 0 / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001776/0.6817, allocations: 8 kB / 1.08 GB, free: 11.28 MB / 0.8419 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.0003652/0.682, allocations: 0.6241 MB / 1.081 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.6822, allocations: 23.92 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6822, allocations: 0 / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.6822, allocations: 11.98 kB / 1.081 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6825, allocations: 15.98 kB / 1.081 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.6828, allocations: 161.4 kB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.683, allocations: 0.6844 MB / 1.081 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.683, allocations: 7.953 kB / 1.081 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.6831, allocations: 7.438 kB / 1.081 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.6831, allocations: 4 kB / 1.082 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.6932, allocations: 1.244 MB / 1.083 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.6934, allocations: 216.9 kB / 1.083 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.296, allocations: 0 / 1.083 GB, free: 8.289 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches