Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00169/0.00169, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00216/0.00216, allocations: 212.5 kB / 23.04 MB, free: 5.082 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.947/2.947, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_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.002093/0.002093, allocations: 68.3 kB / 1.118 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3996, allocations: 169.9 MB / 1.284 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002546/0.4021, allocations: 1.294 MB / 1.285 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.4028, allocations: 291.5 kB / 1.286 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.4028, allocations: 0 / 1.286 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.4029, allocations: 0 / 1.286 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.4029, allocations: 11.86 kB / 1.286 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.4032, allocations: 55.75 kB / 1.286 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.4033, allocations: 11.94 kB / 1.286 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.4033, allocations: 7.984 kB / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.4034, allocations: 11.98 kB / 1.286 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.4034, allocations: 4 kB / 1.286 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4035, allocations: 3.938 kB / 1.286 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.4036, allocations: 55.94 kB / 1.286 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.4036, allocations: 3.938 kB / 1.286 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4036, allocations: 12 kB / 1.286 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.4038, allocations: 56.05 kB / 1.286 GB, free: 2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4038, allocations: 0 / 1.286 GB, free: 2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4038, allocations: 0 / 1.286 GB, free: 2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4038, allocations: 0 / 1.286 GB, free: 2 MB / 0.9825 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.0005273/0.4043, allocations: 258.3 kB / 1.286 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4044, allocations: 8.031 kB / 1.286 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.668e-05/0.4044, allocations: 4.125 kB / 1.286 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.4044, allocations: 34.75 kB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.4046, allocations: 24.86 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.4048, allocations: 110.5 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.4048, allocations: 384 / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4048, allocations: 384 / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.4049, allocations: 46 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.4049, allocations: 0 / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4049, allocations: 4 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4049, allocations: 4 kB / 1.286 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.405, allocations: 15.98 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.4052, allocations: 136.7 kB / 1.287 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.407, allocations: 262.5 kB / 1.287 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.407, allocations: 16.86 kB / 1.287 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.407, allocations: 3.938 kB / 1.287 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.407, allocations: 38.5 kB / 1.287 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.407, allocations: 0 / 1.287 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001953/0.4072, allocations: 69.61 kB / 1.287 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4073, allocations: 51.41 kB / 1.287 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.4074, allocations: 97.86 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.4074, allocations: 25.7 kB / 1.287 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.4074, allocations: 80.14 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.4075, allocations: 11.91 kB / 1.287 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.4075, allocations: 17.72 kB / 1.287 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4076, allocations: 314.8 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.4077, allocations: 8 kB / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.4077, allocations: 4.188 kB / 1.287 GB, free: 204 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.4078, allocations: 37.05 kB / 1.288 GB, free: 164 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4078, allocations: 4 kB / 1.288 GB, free: 160 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.908e-05/0.4078, allocations: 53.64 kB / 1.288 GB, free: 100 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4079, allocations: 7.938 kB / 1.288 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4079, allocations: 0 / 1.288 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4079, allocations: 3.984 kB / 1.288 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.4079, allocations: 8 kB / 1.288 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4079, allocations: 3.938 kB / 1.288 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.408, allocations: 0 / 1.288 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.408, allocations: 0 / 1.288 GB, free: 76 kB / 0.9825 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 0.0001077/0.4081, allocations: 113.8 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.4081, allocations: 7.891 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.4081, allocations: 7.531 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4081, allocations: 0 / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4082, allocations: 4 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4082, allocations: 3.984 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.4083, allocations: 128.7 kB / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4083, allocations: 0 / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.4083, allocations: 7.984 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4083, allocations: 11.88 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4083, allocations: 4 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4083, allocations: 3.938 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4083, allocations: 0 / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.4085, allocations: 73.12 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4085, allocations: 7.938 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4085, allocations: 4 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.4086, allocations: 7.984 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4086, allocations: 0 / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4086, allocations: 8 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.4086, allocations: 75.28 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4086, allocations: 0 / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002329/0.4089, allocations: 8 kB / 1.288 GB, free: 15.54 MB / 0.9981 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.0004911/0.4094, allocations: 0.6203 MB / 1.289 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.4095, allocations: 20 kB / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4095, allocations: 0 / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.4095, allocations: 19.92 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4098, allocations: 4 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.4103, allocations: 162.6 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4107, allocations: 0.6768 MB / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.4107, allocations: 336 / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.4108, allocations: 11.44 kB / 1.29 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.4108, allocations: 4 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.4309, allocations: 1.467 MB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 18.42 kB / 1.291 GB, free: 12.59 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.71164580999175]