Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001322/0.001322, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001407/0.001407, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.082/3.082, allocations: 0.5003 GB / 0.8026 GB, free: 6.91 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9875/0.9895, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002132/0.9916, allocations: 1.292 MB / 1.341 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005556/0.9922, allocations: 297.1 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.9922, allocations: 0 / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.9922, allocations: 0 / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.9923, allocations: 5.609 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.9926, allocations: 48.08 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.9927, allocations: 18.48 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.9927, allocations: 6.125 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.9928, allocations: 8.906 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.9928, allocations: 20.94 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.9929, allocations: 1.406 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.993, allocations: 49.83 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.993, allocations: 6.062 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.993, allocations: 4.797 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.9932, allocations: 53.42 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.9932, allocations: 1.875 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9932, allocations: 0 / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9932, allocations: 0 / 1.342 GB, free: 15.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004061/0.9936, allocations: 342.5 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9937, allocations: 10.56 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.406e-05/0.9937, allocations: 1.25 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.9937, allocations: 36.66 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.994, allocations: 17.48 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.994, allocations: 162.5 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.994, allocations: 1.469 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.9941, allocations: 1.562 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9942, allocations: 53.59 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9942, allocations: 0 / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9942, allocations: 0.7969 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.9942, allocations: 1.188 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.9943, allocations: 18.77 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.9944, allocations: 157.6 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.9963, allocations: 263.4 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.9964, allocations: 23.75 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.9964, allocations: 4.594 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.9964, allocations: 40.22 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.9964, allocations: 7.938 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.9966, allocations: 58.33 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.9966, allocations: 55.41 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.9967, allocations: 92.75 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.9967, allocations: 25.7 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.9967, allocations: 80.94 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.9968, allocations: 14.75 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.9968, allocations: 18.16 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.9968, allocations: 316.2 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.9969, allocations: 9.75 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.9969, allocations: 10.09 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.9969, allocations: 29.66 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9969, allocations: 0 / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.468e-05/0.997, allocations: 56.78 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.997, allocations: 8.25 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.997, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9971, allocations: 2.078 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.9971, allocations: 10.08 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.9971, allocations: 0 / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.9972, allocations: 1.672 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.9972, allocations: 1.125 kB / 1.344 GB, free: 13.4 MB / 1.061 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 5.814e-05/0.9972, allocations: 117.2 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.9972, allocations: 6.828 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.9973, allocations: 8.203 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9973, allocations: 5.156 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9973, allocations: 0 / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9973, allocations: 4.797 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.9974, allocations: 158.1 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9974, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.9974, allocations: 7.297 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9974, allocations: 3.938 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.9974, allocations: 1.25 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9974, allocations: 0.6094 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9974, allocations: 1.156 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.36e-05/0.9975, allocations: 81.3 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.9976, allocations: 88.88 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.9976, allocations: 0.6562 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.9976, allocations: 2.547 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.9976, allocations: 6.125 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.9977, allocations: 1.422 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.9977, allocations: 76.56 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9977, allocations: 0 / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000184/0.9979, allocations: 10.62 kB / 1.344 GB, free: 12.8 MB / 1.061 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 (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 Backend phase and start with SimCode phase: time 0.0002592/0.9981, allocations: 0.6157 MB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.9982, allocations: 33 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9982, allocations: 0 / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.9983, allocations: 14.56 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.9985, allocations: 11.55 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.9989, allocations: 151.1 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.999, allocations: 0.6755 MB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.9991, allocations: 5.609 kB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.9991, allocations: 9.656 kB / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9991, allocations: 0 / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/1.015, allocations: 1.38 MB / 1.347 GB, free: 10.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.277, allocations: 9.359 kB / 1.347 GB, free: 10.92 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 16.01278861198807]