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.001374/0.001374, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001415/0.001415, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] 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.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 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.001797/0.001797, allocations: 71.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7879, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001894/0.7898, allocations: 1.276 MB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.7902, allocations: 298.4 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.7902, allocations: 0.7812 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.7903, allocations: 3.938 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.7903, allocations: 1.375 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.7905, allocations: 52.2 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.7906, allocations: 25.67 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.7906, allocations: 3.75 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.7907, allocations: 8.062 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.7907, allocations: 13.19 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.7907, allocations: 0.75 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.7908, allocations: 53.89 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.7909, allocations: 1.203 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.7909, allocations: 8.297 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.791, allocations: 51.05 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.791, allocations: 1.281 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.791, allocations: 0 / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.791, allocations: 0.7188 kB / 1.273 GB, free: 6.562 MB / 0.9981 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.0002668/0.7913, allocations: 338.6 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7913, allocations: 10.62 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.49e-05/0.7913, allocations: 35.92 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.7915, allocations: 17.86 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.637e-05/0.7916, allocations: 162.6 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.7916, allocations: 1.156 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.7916, allocations: 1.938 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.7917, allocations: 45.61 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7917, allocations: 8.828 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7917, allocations: 0.8125 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7917, allocations: 0.8125 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.7918, allocations: 18.58 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.983e-05/0.7919, allocations: 166.2 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.7936, allocations: 264.7 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.7936, allocations: 18.91 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.7936, allocations: 4.719 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.7936, allocations: 35.56 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7936, allocations: 1.344 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001379/0.7938, allocations: 63.34 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.7938, allocations: 52.19 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.293e-05/0.7938, allocations: 97.81 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.7938, allocations: 25.7 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/0.7938, allocations: 81.17 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.7939, allocations: 12.88 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.7939, allocations: 19.89 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.7939, allocations: 311 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.7939, allocations: 22.88 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.794, allocations: 10.58 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.794, allocations: 23.33 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.794, allocations: 0 / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.868e-05/0.7941, allocations: 55.12 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7941, allocations: 9.438 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.7941, allocations: 0 / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.7941, allocations: 0.7188 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.7942, allocations: 5.203 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7942, allocations: 0.9062 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.7942, allocations: 12.64 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.7942, allocations: 4.828 kB / 1.275 GB, free: 4.84 MB / 0.9981 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 3.629e-05/0.7942, allocations: 114.8 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.7942, allocations: 4.656 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.7943, allocations: 8.344 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7943, allocations: 0.6875 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7943, allocations: 0.8438 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.7943, allocations: 0 / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.638e-05/0.7943, allocations: 158.1 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.7943, allocations: 4 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.7944, allocations: 6.562 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7944, allocations: 7.219 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.7944, allocations: 0 / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7944, allocations: 0.8125 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7944, allocations: 0 / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.391e-05/0.7945, allocations: 81.33 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.7945, allocations: 87.27 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.7945, allocations: 8.531 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.7945, allocations: 4.875 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.7946, allocations: 2.219 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.7946, allocations: 4.906 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.263e-05/0.7946, allocations: 76.34 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7946, allocations: 0 / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001689/0.7947, allocations: 6.469 kB / 1.276 GB, free: 4.238 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.0001896/0.7949, allocations: 0.6203 MB / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.795, allocations: 30.36 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.795, allocations: 0 / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.795, allocations: 12.22 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.7952, allocations: 8.469 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.7956, allocations: 162.3 kB / 1.276 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.7956, allocations: 0.6799 MB / 1.277 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.7957, allocations: 5.812 kB / 1.277 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.7957, allocations: 9.062 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.7957, allocations: 0.9062 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.8168, allocations: 1.3 MB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.747, allocations: 10.92 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 13.079856137999741]