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.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.001317/0.001317, allocations: 111.6 kB / 18.14 MB, free: 3.828 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.001282/0.001282, allocations: 197.2 kB / 21.42 MB, free: 0.5508 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.444/1.444, allocations: 225.6 MB / 250.2 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.89 kB / 1.108 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7971, allocations: 168.7 MB / 1.273 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002303/0.7994, allocations: 1.272 MB / 1.274 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000582/0.7999, allocations: 307 kB / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.8, allocations: 0 / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.8, allocations: 8 kB / 1.274 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.8, allocations: 7.922 kB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.8003, allocations: 47.75 kB / 1.274 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.8004, allocations: 15.88 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.8004, allocations: 8 kB / 1.274 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.8004, allocations: 11.97 kB / 1.274 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.8005, allocations: 4 kB / 1.274 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.8005, allocations: 0 / 1.274 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.8006, allocations: 55.95 kB / 1.275 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.8006, allocations: 3.938 kB / 1.275 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.8007, allocations: 11.98 kB / 1.275 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.8008, allocations: 51.48 kB / 1.275 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.8008, allocations: 0 / 1.275 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8008, allocations: 0 / 1.275 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8008, allocations: 4 kB / 1.275 GB, free: 2.523 MB / 0.9669 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.0004018/0.8012, allocations: 329.6 kB / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8013, allocations: 12.03 kB / 1.275 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.8013, allocations: 34.75 kB / 1.275 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.8015, allocations: 24.84 kB / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8016, allocations: 160.4 kB / 1.275 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.8016, allocations: 4.375 kB / 1.275 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.8017, allocations: 4.375 kB / 1.275 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.8018, allocations: 38.25 kB / 1.275 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8018, allocations: 3.938 kB / 1.275 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8018, allocations: 4 kB / 1.275 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.8018, allocations: 0 / 1.275 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.8018, allocations: 19.98 kB / 1.275 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.802, allocations: 153.7 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.804, allocations: 270.3 kB / 1.276 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.804, allocations: 16.86 kB / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.804, allocations: 0 / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.804, allocations: 34.56 kB / 1.276 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.804, allocations: 0 / 1.276 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.8042, allocations: 81.44 kB / 1.276 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.8043, allocations: 55.39 kB / 1.276 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.8043, allocations: 93.86 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.8043, allocations: 29.64 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.8044, allocations: 80.14 kB / 1.276 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.8044, allocations: 19.84 kB / 1.276 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.8044, allocations: 13.72 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8046, allocations: 318.8 kB / 1.276 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.8046, allocations: 4 kB / 1.276 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.8046, allocations: 8 kB / 1.276 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.8047, allocations: 28.98 kB / 1.276 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8047, allocations: 0 / 1.276 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.871e-05/0.8048, allocations: 57.62 kB / 1.276 GB, free: 440 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8048, allocations: 7.938 kB / 1.276 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8048, allocations: 0 / 1.276 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8048, allocations: 4 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.8049, allocations: 7.984 kB / 1.276 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8049, allocations: 0 / 1.276 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.8049, allocations: 8 kB / 1.276 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.8049, allocations: 0 / 1.276 GB, free: 412 kB / 0.9669 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 7.84e-05/0.805, allocations: 113.8 kB / 1.277 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.805, allocations: 3.938 kB / 1.277 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.805, allocations: 7.5 kB / 1.277 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.805, allocations: 4 kB / 1.277 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.805, allocations: 0 / 1.277 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.805, allocations: 0 / 1.277 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.8052, allocations: 153.7 kB / 1.277 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8052, allocations: 0 / 1.277 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.8052, allocations: 7.984 kB / 1.277 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8052, allocations: 7.938 kB / 1.277 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.8052, allocations: 4 kB / 1.277 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8052, allocations: 0 / 1.277 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8052, allocations: 3.938 kB / 1.277 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.8054, allocations: 81.08 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.8054, allocations: 77.11 kB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.8055, allocations: 7.938 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.8055, allocations: 3.984 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.8055, allocations: 7.938 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8055, allocations: 8 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.8056, allocations: 75.28 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8056, allocations: 0 / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001863/0.8058, allocations: 8 kB / 1.277 GB, free: 15.74 MB / 0.9825 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.0004226/0.8062, allocations: 0.6211 MB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.8063, allocations: 28.02 kB / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8063, allocations: 0 / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.8063, allocations: 19.92 kB / 1.278 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.8066, allocations: 9.875 kB / 1.278 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.807, allocations: 172.1 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.8073, allocations: 0.6768 MB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.8074, allocations: 0 / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.8074, allocations: 11.44 kB / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8074, allocations: 4 kB / 1.278 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.8296, allocations: 1.314 MB / 1.28 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.934, allocations: 8.047 kB / 1.28 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.894411922898144]