Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8868/0.8868, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.316e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001563/0.001577, allocations: 1.304 MB / 0.9518 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5188/0.5204, allocations: 129.7 MB / 1.078 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.5204, allocations: 0 / 1.078 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.5204, allocations: 10 kB / 1.078 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.5205, allocations: 9.656 kB / 1.078 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.5209, allocations: 117.8 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.5209, allocations: 20.2 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.521, allocations: 8.484 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.521, allocations: 6.953 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.521, allocations: 9.562 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.5211, allocations: 0 / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.5214, allocations: 170.6 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.5214, allocations: 6.594 kB / 1.079 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.5214, allocations: 3.797 kB / 1.079 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.5216, allocations: 132.4 kB / 1.079 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5216, allocations: 2.438 kB / 1.079 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5216, allocations: 0 / 1.079 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5216, allocations: 0 / 1.079 GB, free: 40.1 MB / 0.9948 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.0002662/0.5218, allocations: 274.5 kB / 1.079 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5219, allocations: 11.81 kB / 1.079 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.436e-05/0.5219, allocations: 30.75 kB / 1.079 GB, free: 39.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.5223, allocations: 44.33 kB / 1.079 GB, free: 39.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.5223, allocations: 107.8 kB / 1.079 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5224, allocations: 3.812 kB / 1.079 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.5224, allocations: 384 / 1.079 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.5225, allocations: 51.91 kB / 1.079 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5225, allocations: 1.094 kB / 1.079 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.5225, allocations: 3.156 kB / 1.079 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5225, allocations: 4 kB / 1.079 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.5226, allocations: 18.42 kB / 1.079 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.5228, allocations: 223.6 kB / 1.08 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.5228, allocations: 20.39 kB / 1.08 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.5229, allocations: 14.52 kB / 1.08 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.5229, allocations: 0 / 1.08 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.5229, allocations: 33.47 kB / 1.08 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.5229, allocations: 4 kB / 1.08 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001136/0.523, allocations: 43.59 kB / 1.08 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.523, allocations: 58.28 kB / 1.08 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.5231, allocations: 105.2 kB / 1.08 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.5231, allocations: 28.89 kB / 1.08 GB, free: 39.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.5231, allocations: 90.38 kB / 1.08 GB, free: 39 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.5231, allocations: 5.359 kB / 1.08 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.5232, allocations: 22.3 kB / 1.08 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.414e-05/0.5232, allocations: 314.8 kB / 1.08 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.5232, allocations: 17 kB / 1.08 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.5232, allocations: 12.05 kB / 1.08 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.5233, allocations: 24.19 kB / 1.08 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5233, allocations: 0 / 1.08 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.32e-05/0.5234, allocations: 57.06 kB / 1.08 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5234, allocations: 8 kB / 1.08 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.5234, allocations: 5.031 kB / 1.08 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5234, allocations: 7.406 kB / 1.08 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.5235, allocations: 12.8 kB / 1.08 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5235, allocations: 3.938 kB / 1.08 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.5235, allocations: 9.812 kB / 1.08 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5235, allocations: 6.312 kB / 1.08 GB, free: 38.6 MB / 0.9948 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 3.521e-05/0.5236, allocations: 112.9 kB / 1.081 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.5236, allocations: 4.234 kB / 1.081 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.5236, allocations: 7.312 kB / 1.081 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5236, allocations: 0 / 1.081 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5236, allocations: 0 / 1.081 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5236, allocations: 2.156 kB / 1.081 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.409e-05/0.5237, allocations: 133.4 kB / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.5237, allocations: 0 / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-06/0.5237, allocations: 2.656 kB / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.5237, allocations: 0 / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.5237, allocations: 0 / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.5237, allocations: 0 / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5237, allocations: 6.641 kB / 1.081 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.832e-05/0.5237, allocations: 139.1 kB / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.5238, allocations: 6.469 kB / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.5238, allocations: 3.312 kB / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.5238, allocations: 2.781 kB / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.5238, allocations: 0 / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.5238, allocations: 2.719 kB / 1.081 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.5239, allocations: 91.09 kB / 1.081 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5239, allocations: 0 / 1.081 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001619/0.524, allocations: 14.59 kB / 1.081 GB, free: 38.1 MB / 0.9948 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 (2): * Single equations (assignments): 2 * 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.0002091/0.5242, allocations: 0.6828 MB / 1.082 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.5243, allocations: 22.47 kB / 1.082 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5243, allocations: 2.469 kB / 1.082 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.5243, allocations: 3.219 kB / 1.082 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5246, allocations: 13.19 kB / 1.082 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.5249, allocations: 150.6 kB / 1.082 GB, free: 37.28 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.725e-05/0.5249, allocations: 57.45 kB / 1.082 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.5249, allocations: 11.64 kB / 1.082 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.525, allocations: 8.5 kB / 1.082 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of SimCode: time 3.61e-07/0.525, allocations: 0 / 1.082 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.5383, allocations: 2.287 MB / 1.084 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/7.334, allocations: 10.52 kB / 1.084 GB, free: 36.31 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 11.218643167987466]