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.001673/0.001673, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002204/0.002204, allocations: 212.2 kB / 22.24 MB, free: 4.859 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.789 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.264/3.264, allocations: 0.4892 GB / 0.7944 GB, free: 35.48 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.002056/0.002056, allocations: 68.39 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002502/0.3397, allocations: 1.285 MB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005843/0.3403, allocations: 267.6 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.3403, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3403, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.3404, allocations: 7.922 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3406, allocations: 55.75 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.3407, allocations: 15.88 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.3407, allocations: 3.984 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.3408, allocations: 8 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.3408, allocations: 7.984 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3408, allocations: 0 / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.341, allocations: 55.95 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.341, allocations: 3.938 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.341, allocations: 11.98 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3411, allocations: 59.98 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3412, allocations: 0 / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3412, allocations: 0 / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3412, allocations: 0 / 1.327 GB, free: 0.6016 MB / 1.014 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.00038/0.3415, allocations: 262.2 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3416, allocations: 12.03 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.3416, allocations: 30.75 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3418, allocations: 20.91 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.3419, allocations: 106.5 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3419, allocations: 4.375 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3419, allocations: 8.375 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3421, allocations: 67.95 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3421, allocations: 3.938 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3421, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3421, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.3421, allocations: 19.92 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.3423, allocations: 124.9 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3442, allocations: 270.4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3443, allocations: 20.84 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3443, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3443, allocations: 30.56 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3443, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.3445, allocations: 69.56 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3445, allocations: 55.41 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.3446, allocations: 93.86 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3446, allocations: 29.7 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.3446, allocations: 80.14 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3447, allocations: 15.89 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.3447, allocations: 13.72 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3448, allocations: 318.8 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3449, allocations: 8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.3449, allocations: 8.172 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.3449, allocations: 32.94 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3449, allocations: 8.062 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.762e-05/0.345, allocations: 53.69 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3451, allocations: 7.938 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3451, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3451, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.3451, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3451, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3452, allocations: 3.953 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3452, allocations: 0 / 1.329 GB, free: 14.64 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.585e-05/0.3453, allocations: 118.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3453, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3453, allocations: 11.53 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3453, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3453, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3453, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3454, allocations: 120.8 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3454, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.3455, allocations: 19.92 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3455, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3455, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3455, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3455, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.3456, allocations: 77.12 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.3456, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3457, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.3457, allocations: 7.984 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3457, allocations: 7.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3457, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.3458, allocations: 75.28 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3458, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000199/0.346, allocations: 7.938 kB / 1.329 GB, free: 14.1 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.0004106/0.3464, allocations: 0.6241 MB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.3465, allocations: 24 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3465, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.3465, allocations: 15.92 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3467, allocations: 8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.3472, allocations: 150.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.3472, allocations: 67.34 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.3472, allocations: 336 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3473, allocations: 15.42 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3473, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.3815, allocations: 1.854 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 14.97 kB / 1.332 GB, free: 11.39 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.849911712110043]