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.007569/0.007569, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001699/0.0017, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.12 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003223/0.3146, allocations: 1.487 MB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9022/1.217, allocations: 132.1 MB / 1.338 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/1.217, allocations: 1.062 kB / 1.338 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/1.217, allocations: 9.062 kB / 1.338 GB, free: 9.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/1.217, allocations: 11.33 kB / 1.338 GB, free: 9.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/1.217, allocations: 62.45 kB / 1.338 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/1.218, allocations: 56.3 kB / 1.338 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/1.218, allocations: 16.64 kB / 1.338 GB, free: 9.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/1.218, allocations: 19.12 kB / 1.338 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/1.218, allocations: 29.47 kB / 1.338 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/1.218, allocations: 5.156 kB / 1.338 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/1.218, allocations: 21.19 kB / 1.338 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/1.218, allocations: 10 kB / 1.338 GB, free: 9.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/1.218, allocations: 24.61 kB / 1.338 GB, free: 9.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/1.218, allocations: 58.09 kB / 1.338 GB, free: 9.414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.218, allocations: 4 kB / 1.338 GB, free: 9.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/1.218, allocations: 0 / 1.338 GB, free: 9.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.987e-06/1.218, allocations: 0 / 1.338 GB, free: 9.41 MB / 1.045 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.0005218/1.219, allocations: 376.2 kB / 1.338 GB, free: 9.039 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.219, allocations: 10.59 kB / 1.338 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/1.219, allocations: 36.94 kB / 1.338 GB, free: 8.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/1.219, allocations: 4.547 kB / 1.338 GB, free: 8.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.219, allocations: 169.6 kB / 1.339 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/1.219, allocations: 2.297 kB / 1.339 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/1.219, allocations: 6.469 kB / 1.339 GB, free: 8.793 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/1.219, allocations: 71.75 kB / 1.339 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.219, allocations: 7.938 kB / 1.339 GB, free: 8.746 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.219, allocations: 8.906 kB / 1.339 GB, free: 8.738 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.219, allocations: 1.641 kB / 1.339 GB, free: 8.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/1.22, allocations: 65.72 kB / 1.339 GB, free: 8.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/1.22, allocations: 290.3 kB / 1.339 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.22, allocations: 59.5 kB / 1.339 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/1.22, allocations: 42.41 kB / 1.339 GB, free: 8.383 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/1.22, allocations: 88.72 kB / 1.339 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/1.22, allocations: 41.61 kB / 1.339 GB, free: 8.242 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.22, allocations: 0 / 1.339 GB, free: 8.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005241/1.221, allocations: 129.5 kB / 1.339 GB, free: 8.195 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/1.221, allocations: 51.41 kB / 1.339 GB, free: 8.133 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/1.221, allocations: 125.4 kB / 1.34 GB, free: 8.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/1.221, allocations: 26.8 kB / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/1.221, allocations: 91.59 kB / 1.34 GB, free: 7.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/1.221, allocations: 5.75 kB / 1.34 GB, free: 7.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/1.221, allocations: 17.95 kB / 1.34 GB, free: 7.875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.221, allocations: 318.5 kB / 1.34 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/1.222, allocations: 31.16 kB / 1.34 GB, free: 7.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/1.222, allocations: 35.81 kB / 1.34 GB, free: 7.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/1.222, allocations: 67.11 kB / 1.34 GB, free: 7.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.222, allocations: 0 / 1.34 GB, free: 7.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/1.222, allocations: 111.4 kB / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.222, allocations: 6.141 kB / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.222, allocations: 1.062 kB / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.222, allocations: 0 / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.222, allocations: 16.78 kB / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.223, allocations: 0 / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/1.223, allocations: 20.22 kB / 1.34 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/1.223, allocations: 5.094 kB / 1.34 GB, free: 7.465 MB / 1.045 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.68e-05/1.223, allocations: 116.2 kB / 1.34 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.223, allocations: 3.453 kB / 1.34 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.223, allocations: 108.9 kB / 1.34 GB, free: 7.285 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.223, allocations: 1 kB / 1.34 GB, free: 7.285 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.223, allocations: 5.531 kB / 1.34 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.223, allocations: 4.875 kB / 1.34 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/1.223, allocations: 173.2 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.223, allocations: 0.9688 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.223, allocations: 15.91 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.223, allocations: 0 / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/1.223, allocations: 1.125 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.224, allocations: 1.406 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.224, allocations: 1.062 kB / 1.341 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/1.224, allocations: 202 kB / 1.341 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/1.224, allocations: 83.91 kB / 1.341 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.224, allocations: 1.703 kB / 1.341 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.224, allocations: 12.27 kB / 1.341 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/1.224, allocations: 7.891 kB / 1.341 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/1.224, allocations: 5.938 kB / 1.341 GB, free: 6.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.157e-05/1.224, allocations: 94.8 kB / 1.341 GB, free: 6.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.224, allocations: 0 / 1.341 GB, free: 6.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002446/1.224, allocations: 12.12 kB / 1.341 GB, free: 6.738 MB / 1.045 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.0007053/1.225, allocations: 0.7348 MB / 1.342 GB, free: 6.066 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003535/1.226, allocations: 72.2 kB / 1.342 GB, free: 6.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.226, allocations: 0 / 1.342 GB, free: 6.055 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/1.226, allocations: 38.75 kB / 1.342 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/1.226, allocations: 15.62 kB / 1.342 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/1.228, allocations: 1.437 MB / 1.343 GB, free: 4.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.228, allocations: 0.6825 MB / 1.344 GB, free: 4.102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.26e-05/1.228, allocations: 6.453 kB / 1.344 GB, free: 4.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/1.228, allocations: 24.17 kB / 1.344 GB, free: 4.078 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.228, allocations: 3.938 kB / 1.344 GB, free: 4.074 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.249, allocations: 2.097 MB / 1.346 GB, free: 3.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.898, allocations: 6.047 kB / 1.346 GB, free: 3.664 MB / 1.045 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