Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001752/0.001752, allocations: 109 kB / 16.45 MB, free: 6.035 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.001997/0.001997, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.26/3.26, allocations: 497.2 MB / 0.7811 GB, free: 33.68 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.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.92 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3718, allocations: 173.9 MB / 1.304 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002503/0.3743, allocations: 1.27 MB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3759, allocations: 0.8811 MB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3759, allocations: 4 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.376, allocations: 0 / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.376, allocations: 7.938 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.3767, allocations: 187.6 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.3768, allocations: 23.92 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.3768, allocations: 0 / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.3769, allocations: 11.92 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.3769, allocations: 8 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.3769, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.3773, allocations: 241.9 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.3774, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.3774, allocations: 15.92 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3777, allocations: 147.7 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3777, allocations: 0 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3777, allocations: 0 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3777, allocations: 0 / 1.307 GB, free: 14.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005013/0.3782, allocations: 363.1 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3782, allocations: 20.86 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.3783, allocations: 30.75 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3784, allocations: 12.88 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3786, allocations: 160.4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3786, allocations: 384 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3786, allocations: 7.938 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3787, allocations: 49.67 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3787, allocations: 0 / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3787, allocations: 4 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.3787, allocations: 4 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.3788, allocations: 15.98 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.379, allocations: 153.6 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.3799, allocations: 134.5 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.38, allocations: 28.78 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3801, allocations: 81.11 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3801, allocations: 34.55 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3801, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001981/0.3803, allocations: 65.62 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3804, allocations: 55.41 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.3804, allocations: 89.86 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3805, allocations: 29.83 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.3805, allocations: 80.14 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.3805, allocations: 23.83 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3806, allocations: 21.7 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3807, allocations: 310.8 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.3807, allocations: 4 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.3808, allocations: 16.11 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.3808, allocations: 28.94 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3808, allocations: 4 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.437e-05/0.3809, allocations: 61.56 kB / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3809, allocations: 4 kB / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3809, allocations: 0 / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3809, allocations: 0 / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.381, allocations: 11.98 kB / 1.309 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.381, allocations: 0 / 1.309 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.381, allocations: 0 / 1.309 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.381, allocations: 4 kB / 1.309 GB, free: 12.57 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 (4): * Single equations (assignments): 4 * 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.806e-05/0.3811, allocations: 117.8 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.3812, allocations: 7.953 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3814, allocations: 77.11 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3814, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3814, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3814, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.3816, allocations: 169.6 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3816, allocations: 0 / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3816, allocations: 11.98 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3816, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3816, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3816, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3816, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.3818, allocations: 97 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.3818, allocations: 89.09 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3818, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.3819, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.3819, allocations: 8 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3819, allocations: 0 / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.3819, allocations: 75.28 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3819, allocations: 0 / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002555/0.3822, allocations: 51.86 kB / 1.309 GB, free: 11.77 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 (5): * Single equations (assignments): 5 * 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.0006817/0.3829, allocations: 0.6995 MB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.383, allocations: 27.92 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.383, allocations: 4 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.383, allocations: 12 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.3832, allocations: 11.98 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.3837, allocations: 168 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.384, allocations: 0.6802 MB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.006e-05/0.3841, allocations: 11.98 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.3841, allocations: 11.44 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.3841, allocations: 0 / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4064, allocations: 1.991 MB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.677, allocations: 15.77 kB / 1.313 GB, free: 8.211 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.471119864843786]