Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001323/0.001323, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001441/0.001441, allocations: 219.5 kB / 22.24 MB, free: 5.258 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",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.002055/0.002055, allocations: 69.56 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002458/0.3443, allocations: 1.283 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.3449, allocations: 275.5 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.3449, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.345, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.345, allocations: 11.94 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3453, allocations: 47.73 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.3453, allocations: 15.94 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.3454, allocations: 3.984 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.3454, allocations: 11.94 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.3455, allocations: 4 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3455, allocations: 4 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3456, allocations: 55.95 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.3456, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3456, allocations: 19.86 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3458, allocations: 44.12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3458, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3458, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3458, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 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.0003728/0.3462, allocations: 270.2 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3462, allocations: 8.031 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.3462, allocations: 34.75 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3464, allocations: 20.91 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.3465, allocations: 106.5 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3465, allocations: 4.375 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3465, allocations: 384 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3467, allocations: 67.95 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3467, allocations: 7.938 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3467, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3467, allocations: 3.984 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.3468, allocations: 19.92 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.3469, allocations: 124.8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3487, allocations: 262.5 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3488, allocations: 24.84 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3488, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3488, allocations: 34.56 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3488, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.349, allocations: 65.56 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.349, allocations: 59.41 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.3491, allocations: 89.86 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3491, allocations: 25.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.3491, allocations: 84.08 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.3492, allocations: 23.88 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3492, allocations: 13.72 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3493, allocations: 310.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.3494, allocations: 8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.3494, allocations: 11.98 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.3494, allocations: 28.92 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3494, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.63e-05/0.3495, allocations: 53.69 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3495, allocations: 7.938 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3495, allocations: 3.938 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3496, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.3496, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3496, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.3497, allocations: 3.953 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3497, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 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 8.912e-05/0.3497, allocations: 118.3 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3498, allocations: 7.938 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.3498, allocations: 11.53 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3498, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3498, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3498, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3499, allocations: 120.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3499, allocations: 7.922 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.35, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.35, allocations: 3.938 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.35, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.35, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.35, allocations: 4.328 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3501, allocations: 85.11 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3501, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3501, allocations: 7.922 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.3502, allocations: 8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3502, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3502, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.3502, allocations: 79.28 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001939/0.3504, allocations: 8 kB / 1.33 GB, free: 13.22 MB / 1.029 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.0003995/0.3508, allocations: 0.628 MB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.989e-05/0.3509, allocations: 16 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3509, allocations: 3.938 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.351, allocations: 19.92 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3512, allocations: 11.97 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.3517, allocations: 148.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.3517, allocations: 63.28 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.3517, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.3518, allocations: 15.44 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3518, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.3788, allocations: 1.888 MB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 14.7 kB / 1.332 GB, free: 10.46 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.407292897987645]