Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 105.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003235/1.018, allocations: 1.494 MB / 1.27 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1717/1.19, allocations: 132.5 MB / 1.4 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/1.19, allocations: 0 / 1.4 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/1.19, allocations: 3.938 kB / 1.4 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/1.19, allocations: 19.84 kB / 1.4 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/1.19, allocations: 69.55 kB / 1.4 GB, free: 14.6 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/1.19, allocations: 51.78 kB / 1.4 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/1.191, allocations: 11.94 kB / 1.4 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/1.191, allocations: 19.98 kB / 1.4 GB, free: 14.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/1.191, allocations: 31.83 kB / 1.4 GB, free: 14.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/1.191, allocations: 4 kB / 1.4 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/1.191, allocations: 16 kB / 1.4 GB, free: 14.47 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/1.191, allocations: 7.984 kB / 1.4 GB, free: 14.46 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/1.191, allocations: 23.88 kB / 1.4 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/1.191, allocations: 59.69 kB / 1.4 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.191, allocations: 4 kB / 1.4 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.533e-06/1.191, allocations: 4 kB / 1.4 GB, free: 14.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.191, allocations: 0 / 1.4 GB, free: 14.37 MB / 1.107 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.0005679/1.192, allocations: 375.2 kB / 1.4 GB, free: 13.95 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.192, allocations: 8.031 kB / 1.4 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/1.192, allocations: 30.75 kB / 1.4 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/1.192, allocations: 4.938 kB / 1.4 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.192, allocations: 184.2 kB / 1.4 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/1.192, allocations: 4.375 kB / 1.4 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/1.192, allocations: 8.375 kB / 1.4 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/1.192, allocations: 66.22 kB / 1.401 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.192, allocations: 7.938 kB / 1.401 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/1.192, allocations: 0 / 1.401 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.192, allocations: 0 / 1.401 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/1.192, allocations: 67.92 kB / 1.401 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/1.193, allocations: 292.7 kB / 1.401 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/1.193, allocations: 50.53 kB / 1.401 GB, free: 13.13 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/1.193, allocations: 44.92 kB / 1.401 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.193, allocations: 89.09 kB / 1.401 GB, free: 12.98 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.193, allocations: 30.56 kB / 1.401 GB, free: 12.94 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.193, allocations: 0 / 1.401 GB, free: 12.94 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005473/1.194, allocations: 141.5 kB / 1.401 GB, free: 12.8 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.194, allocations: 55.34 kB / 1.401 GB, free: 12.73 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.194, allocations: 113.8 kB / 1.401 GB, free: 12.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.194, allocations: 33.64 kB / 1.401 GB, free: 12.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/1.194, allocations: 88.12 kB / 1.401 GB, free: 12.48 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.194, allocations: 7.891 kB / 1.401 GB, free: 12.47 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/1.194, allocations: 17.72 kB / 1.401 GB, free: 12.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.194, allocations: 326.8 kB / 1.402 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.194, allocations: 27.97 kB / 1.402 GB, free: 12.09 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.195, allocations: 27.97 kB / 1.402 GB, free: 12.07 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/1.195, allocations: 76.72 kB / 1.402 GB, free: 11.99 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.195, allocations: 0 / 1.402 GB, free: 11.99 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003071/1.195, allocations: 97.58 kB / 1.402 GB, free: 11.89 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.195, allocations: 11.98 kB / 1.402 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.195, allocations: 0 / 1.402 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.195, allocations: 0 / 1.402 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/1.195, allocations: 23.98 kB / 1.402 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.195, allocations: 0 / 1.402 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/1.195, allocations: 7.984 kB / 1.402 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.195, allocations: 4.328 kB / 1.402 GB, free: 11.84 MB / 1.107 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 9.134e-05/1.195, allocations: 109.8 kB / 1.402 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/1.195, allocations: 7.953 kB / 1.402 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/1.196, allocations: 121.4 kB / 1.402 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.196, allocations: 0 / 1.402 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.196, allocations: 0 / 1.402 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/1.196, allocations: 0 / 1.402 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/1.196, allocations: 173.7 kB / 1.402 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.196, allocations: 0 / 1.402 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/1.196, allocations: 19.97 kB / 1.402 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.196, allocations: 0 / 1.402 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.196, allocations: 4 kB / 1.402 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.196, allocations: 8 kB / 1.403 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.196, allocations: 0 / 1.403 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/1.197, allocations: 195.3 kB / 1.403 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/1.197, allocations: 81.06 kB / 1.403 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/1.197, allocations: 4 kB / 1.403 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.197, allocations: 15.98 kB / 1.403 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.197, allocations: 7.984 kB / 1.403 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.197, allocations: 0 / 1.403 GB, free: 11 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.161e-05/1.197, allocations: 91.22 kB / 1.403 GB, free: 10.91 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.197, allocations: 0 / 1.403 GB, free: 10.91 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002269/1.197, allocations: 15.94 kB / 1.403 GB, free: 10.89 MB / 1.107 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.0007632/1.198, allocations: 0.7479 MB / 1.404 GB, free: 10.12 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003395/1.198, allocations: 71.86 kB / 1.404 GB, free: 10.05 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.198, allocations: 0 / 1.404 GB, free: 10.05 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/1.198, allocations: 43.95 kB / 1.404 GB, free: 10 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.199, allocations: 8.766 kB / 1.404 GB, free: 9.996 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.2, allocations: 1.419 MB / 1.405 GB, free: 8.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.201, allocations: 0.6846 MB / 1.406 GB, free: 7.789 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.927e-05/1.201, allocations: 8 kB / 1.406 GB, free: 7.781 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/1.201, allocations: 19.44 kB / 1.406 GB, free: 7.762 MB / 1.107 GB Notification: Performance of SimCode: time 2.9e-07/1.201, allocations: 0 / 1.406 GB, free: 7.762 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/1.226, allocations: 2.097 MB / 1.408 GB, free: 5.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9.309, allocations: 9.484 kB / 1.408 GB, free: 5.762 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.494430989027023]