Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107.5 kB / 16.4 MB, free: 6.449 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.001338/0.001338, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.513/1.513, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.198/3.198, allocations: 489 MB / 0.7678 GB, free: 29.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 1.101 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.915, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00227/0.9173, allocations: 1.283 MB / 1.262 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1628/1.08, allocations: 132 MB / 1.391 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/1.08, allocations: 0 / 1.391 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/1.08, allocations: 0 / 1.391 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/1.08, allocations: 7.922 kB / 1.391 GB, free: 1.277 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/1.081, allocations: 55.67 kB / 1.391 GB, free: 1.223 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/1.081, allocations: 27.86 kB / 1.391 GB, free: 1.195 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/1.081, allocations: 0 / 1.391 GB, free: 1.195 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/1.081, allocations: 15.98 kB / 1.391 GB, free: 1.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/1.081, allocations: 11.94 kB / 1.391 GB, free: 1.168 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/1.081, allocations: 3.938 kB / 1.391 GB, free: 1.164 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/1.081, allocations: 11.98 kB / 1.391 GB, free: 1.152 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/1.081, allocations: 4 kB / 1.391 GB, free: 1.148 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/1.081, allocations: 11.92 kB / 1.391 GB, free: 1.137 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/1.081, allocations: 23.72 kB / 1.391 GB, free: 1.117 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.081, allocations: 4 kB / 1.391 GB, free: 1.113 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/1.081, allocations: 0 / 1.391 GB, free: 1.113 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.308e-06/1.081, allocations: 0 / 1.391 GB, free: 1.113 MB / 1.092 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.0004355/1.082, allocations: 338.3 kB / 1.392 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.082, allocations: 12.03 kB / 1.392 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/1.082, allocations: 30.75 kB / 1.392 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/1.082, allocations: 0.9375 kB / 1.392 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.082, allocations: 168.3 kB / 1.392 GB, free: 492 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/1.082, allocations: 26.27 kB / 1.392 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/1.082, allocations: 4.375 kB / 1.392 GB, free: 456 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.082, allocations: 42 kB / 1.392 GB, free: 408 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/1.082, allocations: 4 kB / 1.392 GB, free: 404 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.082, allocations: 3.938 kB / 1.392 GB, free: 400 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.082, allocations: 0 / 1.392 GB, free: 400 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/1.082, allocations: 15.92 kB / 1.392 GB, free: 384 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/1.083, allocations: 153.7 kB / 1.392 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/1.083, allocations: 30.61 kB / 1.392 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/1.083, allocations: 16.86 kB / 1.392 GB, free: 120 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/1.083, allocations: 93.19 kB / 1.392 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.083, allocations: 34.5 kB / 1.392 GB, free: 15.96 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.083, allocations: 0 / 1.392 GB, free: 15.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002392/1.083, allocations: 65.59 kB / 1.392 GB, free: 15.89 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.083, allocations: 51.41 kB / 1.392 GB, free: 15.83 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/1.083, allocations: 105.8 kB / 1.393 GB, free: 15.72 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.083, allocations: 25.7 kB / 1.393 GB, free: 15.69 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/1.083, allocations: 80.14 kB / 1.393 GB, free: 15.61 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/1.083, allocations: 11.84 kB / 1.393 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/1.084, allocations: 17.72 kB / 1.393 GB, free: 15.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.084, allocations: 310.8 kB / 1.393 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/1.084, allocations: 11.98 kB / 1.393 GB, free: 15.25 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/1.084, allocations: 4 kB / 1.393 GB, free: 15.24 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/1.084, allocations: 28.84 kB / 1.393 GB, free: 15.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.084, allocations: 0 / 1.393 GB, free: 15.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/1.084, allocations: 53.62 kB / 1.393 GB, free: 15.15 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.084, allocations: 7.938 kB / 1.393 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.084, allocations: 0 / 1.393 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/1.084, allocations: 3.938 kB / 1.393 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/1.084, allocations: 7.984 kB / 1.393 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.084, allocations: 4 kB / 1.393 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/1.084, allocations: 0 / 1.393 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.084, allocations: 4 kB / 1.393 GB, free: 15.12 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 7.567e-05/1.084, allocations: 110.5 kB / 1.393 GB, free: 15.01 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/1.084, allocations: 3.938 kB / 1.393 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/1.084, allocations: 61.11 kB / 1.393 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.084, allocations: 4 kB / 1.393 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.084, allocations: 4 kB / 1.393 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.084, allocations: 0 / 1.393 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/1.085, allocations: 157.7 kB / 1.393 GB, free: 14.72 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.085, allocations: 7.938 kB / 1.393 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/1.085, allocations: 7.984 kB / 1.393 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.085, allocations: 3.938 kB / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/1.085, allocations: 0 / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.085, allocations: 0 / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.085, allocations: 0 / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/1.085, allocations: 77.58 kB / 1.393 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/1.085, allocations: 97.03 kB / 1.394 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/1.085, allocations: 0 / 1.394 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/1.085, allocations: 0 / 1.394 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/1.085, allocations: 4 kB / 1.394 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.085, allocations: 0 / 1.394 GB, free: 14.49 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.752e-05/1.085, allocations: 83.3 kB / 1.394 GB, free: 14.41 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.085, allocations: 0 / 1.394 GB, free: 14.41 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001899/1.085, allocations: 12 kB / 1.394 GB, free: 14.4 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.0005095/1.086, allocations: 0.6241 MB / 1.394 GB, free: 13.74 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.086, allocations: 31.91 kB / 1.394 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.086, allocations: 0 / 1.394 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/1.086, allocations: 8 kB / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/1.086, allocations: 9.719 kB / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/1.087, allocations: 158.8 kB / 1.394 GB, free: 13.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.087, allocations: 0.6806 MB / 1.395 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.578e-05/1.087, allocations: 4 kB / 1.395 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/1.087, allocations: 11.44 kB / 1.395 GB, free: 12.78 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/1.087, allocations: 0 / 1.395 GB, free: 12.78 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/1.11, allocations: 1.365 MB / 1.397 GB, free: 11.55 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/9.187, allocations: 19.48 kB / 1.397 GB, free: 11.54 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.46031802217476]