Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_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.005352/0.005352, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001195/0.001195, allocations: 190 kB / 16.67 MB, free: 5.977 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.1 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2861, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002795/0.2889, allocations: 1.494 MB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7945/1.083, allocations: 132.1 MB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/1.084, allocations: 0 / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/1.084, allocations: 6.469 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/1.084, allocations: 13.33 kB / 1.297 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/1.084, allocations: 70.12 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/1.084, allocations: 53.28 kB / 1.297 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/1.084, allocations: 16.56 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/1.084, allocations: 23.28 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/1.084, allocations: 25.7 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/1.084, allocations: 4.062 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/1.084, allocations: 17.25 kB / 1.297 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/1.085, allocations: 11.52 kB / 1.297 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/1.085, allocations: 19.25 kB / 1.297 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/1.085, allocations: 66.5 kB / 1.297 GB, free: 13.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.085, allocations: 3.562 kB / 1.297 GB, free: 13.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/1.085, allocations: 0 / 1.297 GB, free: 13.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.758e-06/1.085, allocations: 5.156 kB / 1.297 GB, free: 13.83 MB / 1.014 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.0004663/1.085, allocations: 370.5 kB / 1.297 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.085, allocations: 9.594 kB / 1.297 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/1.085, allocations: 37.23 kB / 1.297 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/1.085, allocations: 3 kB / 1.297 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/1.085, allocations: 172 kB / 1.297 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/1.085, allocations: 1.688 kB / 1.297 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/1.085, allocations: 11 kB / 1.297 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/1.086, allocations: 74.8 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.086, allocations: 3.938 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/1.086, allocations: 1.219 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.086, allocations: 0.875 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/1.086, allocations: 75.16 kB / 1.298 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/1.086, allocations: 288.3 kB / 1.298 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/1.087, allocations: 58.83 kB / 1.298 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/1.087, allocations: 40.38 kB / 1.298 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/1.087, allocations: 93.02 kB / 1.298 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/1.087, allocations: 31.62 kB / 1.298 GB, free: 12.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/1.087, allocations: 0 / 1.298 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005121/1.087, allocations: 131.3 kB / 1.298 GB, free: 12.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.087, allocations: 57.52 kB / 1.298 GB, free: 12.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/1.088, allocations: 115.2 kB / 1.298 GB, free: 12.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.088, allocations: 25.7 kB / 1.298 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/1.088, allocations: 99.31 kB / 1.299 GB, free: 12.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/1.088, allocations: 10.44 kB / 1.299 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/1.088, allocations: 12.61 kB / 1.299 GB, free: 12.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/1.088, allocations: 322.4 kB / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/1.088, allocations: 34.73 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/1.088, allocations: 30.47 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/1.088, allocations: 69.86 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.088, allocations: 4 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003017/1.089, allocations: 98.62 kB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.089, allocations: 5.531 kB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.089, allocations: 4.5 kB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.089, allocations: 0 / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/1.089, allocations: 19.66 kB / 1.299 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.089, allocations: 6.438 kB / 1.299 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/1.089, allocations: 19.52 kB / 1.299 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/1.089, allocations: 1.281 kB / 1.299 GB, free: 12 MB / 1.014 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.096e-05/1.089, allocations: 116.3 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/1.089, allocations: 2.406 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/1.089, allocations: 107.7 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.089, allocations: 2.344 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.089, allocations: 0 / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.09, allocations: 0 / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/1.09, allocations: 180.5 kB / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.09, allocations: 0 / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/1.09, allocations: 20.5 kB / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.09, allocations: 0 / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.09, allocations: 0 / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.09, allocations: 0.6562 kB / 1.3 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.09, allocations: 7.344 kB / 1.3 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/1.09, allocations: 196.1 kB / 1.3 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/1.09, allocations: 81.62 kB / 1.3 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.09, allocations: 4.281 kB / 1.3 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.09, allocations: 18.98 kB / 1.3 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.09, allocations: 2.016 kB / 1.3 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.09, allocations: 0 / 1.3 GB, free: 11.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.856e-05/1.09, allocations: 96.47 kB / 1.3 GB, free: 11.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.09, allocations: 0 / 1.3 GB, free: 11.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002397/1.091, allocations: 10.41 kB / 1.3 GB, free: 11.32 MB / 1.014 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.0006298/1.091, allocations: 0.7416 MB / 1.301 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003366/1.092, allocations: 70.45 kB / 1.301 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.092, allocations: 4 kB / 1.301 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/1.092, allocations: 38.53 kB / 1.301 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/1.092, allocations: 13.27 kB / 1.301 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.094, allocations: 1.426 MB / 1.302 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/1.094, allocations: 0.6831 MB / 1.303 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.365e-05/1.094, allocations: 10.12 kB / 1.303 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/1.094, allocations: 15.5 kB / 1.303 GB, free: 8.762 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.094, allocations: 0 / 1.303 GB, free: 8.762 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/1.115, allocations: 2.082 MB / 1.305 GB, free: 8.352 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.786, allocations: 18.88 kB / 1.305 GB, free: 8.34 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches