Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001346/0.001346, allocations: 105.1 kB / 16.45 MB, free: 6.508 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.00137/0.00137, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.441/1.441, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] 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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.806, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00342/0.8094, allocations: 1.3 MB / 1.214 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1869/0.9963, allocations: 148.1 MB / 1.359 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.9963, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.9964, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.9964, allocations: 11.91 kB / 1.359 GB, free: 2.277 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.9968, allocations: 115.4 kB / 1.359 GB, free: 2.164 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.9969, allocations: 19.92 kB / 1.359 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.9969, allocations: 0 / 1.359 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.997, allocations: 11.94 kB / 1.359 GB, free: 2.133 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.997, allocations: 4 kB / 1.359 GB, free: 2.129 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.997, allocations: 4 kB / 1.359 GB, free: 2.125 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.9974, allocations: 179.6 kB / 1.359 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.9974, allocations: 3.984 kB / 1.359 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.9975, allocations: 7.938 kB / 1.359 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.9977, allocations: 113.5 kB / 1.359 GB, free: 1.832 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.9977, allocations: 4 kB / 1.359 GB, free: 1.828 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9977, allocations: 0 / 1.359 GB, free: 1.828 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9977, allocations: 0 / 1.359 GB, free: 1.828 MB / 1.061 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.0004124/0.9981, allocations: 351.2 kB / 1.36 GB, free: 1.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9982, allocations: 8.625 kB / 1.36 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.9982, allocations: 34.75 kB / 1.36 GB, free: 1.387 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.9988, allocations: 44.78 kB / 1.36 GB, free: 1.344 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.9989, allocations: 172.1 kB / 1.36 GB, free: 1.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.9989, allocations: 0 / 1.36 GB, free: 1.137 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.9989, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.9991, allocations: 45.67 kB / 1.36 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9991, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9991, allocations: 3.984 kB / 1.36 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9991, allocations: 4 kB / 1.36 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.9992, allocations: 15.97 kB / 1.36 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.9996, allocations: 260.8 kB / 1.36 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.9997, allocations: 26.5 kB / 1.36 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.9997, allocations: 12.92 kB / 1.36 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.9997, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.9998, allocations: 34.5 kB / 1.36 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.9998, allocations: 4 kB / 1.36 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.9999, allocations: 45.64 kB / 1.36 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1, allocations: 51.41 kB / 1.36 GB, free: 0.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1, allocations: 113.8 kB / 1.36 GB, free: 432 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/1, allocations: 25.7 kB / 1.36 GB, free: 400 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/1, allocations: 92.08 kB / 1.361 GB, free: 304 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/1, allocations: 3.953 kB / 1.361 GB, free: 300 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/1, allocations: 21.7 kB / 1.361 GB, free: 272 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1, allocations: 315 kB / 1.361 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/1, allocations: 11.98 kB / 1.361 GB, free: 15.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/1.001, allocations: 11.98 kB / 1.361 GB, free: 15.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/1.001, allocations: 24.84 kB / 1.361 GB, free: 15.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.001, allocations: 0 / 1.361 GB, free: 15.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001938/1.001, allocations: 61.61 kB / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.001, allocations: 10.97 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.001, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.001, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.001, allocations: 7.984 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.001, allocations: 4 kB / 1.361 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/1.001, allocations: 11.92 kB / 1.361 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/1.001, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.076 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 8.952e-05/1.001, allocations: 113.8 kB / 1.361 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/1.001, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/1.001, allocations: 11.11 kB / 1.361 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.001, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.001, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.001, allocations: 3.938 kB / 1.361 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.001, allocations: 157.6 kB / 1.361 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.001, allocations: 0 / 1.361 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/1.001, allocations: 7.938 kB / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.001, allocations: 4 kB / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/1.001, allocations: 0 / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.001, allocations: 0 / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.001, allocations: 4 kB / 1.361 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/1.002, allocations: 143.4 kB / 1.361 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/1.002, allocations: 81.38 kB / 1.361 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.002, allocations: 0 / 1.361 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.002, allocations: 8.031 kB / 1.361 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/1.002, allocations: 11.91 kB / 1.362 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/1.002, allocations: 0 / 1.362 GB, free: 15.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.887e-05/1.002, allocations: 91.27 kB / 1.362 GB, free: 15.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.002, allocations: 0 / 1.362 GB, free: 15.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000252/1.002, allocations: 15.94 kB / 1.362 GB, free: 15.06 MB / 1.076 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.0005265/1.003, allocations: 0.6812 MB / 1.362 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.003, allocations: 23.97 kB / 1.362 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.003, allocations: 0 / 1.362 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/1.003, allocations: 4 kB / 1.362 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/1.003, allocations: 13.92 kB / 1.362 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/1.004, allocations: 152.8 kB / 1.362 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/1.004, allocations: 0.6729 MB / 1.363 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.341e-05/1.004, allocations: 15.92 kB / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/1.004, allocations: 7.438 kB / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.004, allocations: 0 / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/1.029, allocations: 1.601 MB / 1.365 GB, free: 11.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/9.243, allocations: 9.641 kB / 1.365 GB, free: 11.92 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.096741687972099]