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.0008194/0.0008194, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009337/0.0009337, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.709/1.709, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 2.755e-06/2.755e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.302e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00231/0.002333, allocations: 1.282 MB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000413/0.002746, allocations: 279.1 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002768, allocations: 0 / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.002786, allocations: 0 / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.002826, allocations: 7.875 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.003077, allocations: 47.8 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.003139, allocations: 19.88 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.003178, allocations: 3.984 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.003229, allocations: 4 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.003272, allocations: 11.98 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.003287, allocations: 4 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.003376, allocations: 55.88 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.003387, allocations: 7.938 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.003403, allocations: 4 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003521, allocations: 51.88 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003523, allocations: 0 / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.773e-06/0.003524, allocations: 4 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003528, allocations: 3.938 kB / 0.9522 GB, free: 1.719 MB / 0.9011 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.0002983/0.003826, allocations: 258.3 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.003863, allocations: 8.031 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.003893, allocations: 34.75 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.004032, allocations: 20.91 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.643e-05/0.004098, allocations: 105.7 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.004107, allocations: 4.375 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.004114, allocations: 384 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.004221, allocations: 71.95 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004228, allocations: 192 / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004237, allocations: 4.312 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.004243, allocations: 4.125 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.004286, allocations: 19.98 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.004401, allocations: 128.8 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.005298, allocations: 270.4 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.005329, allocations: 20.84 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.005339, allocations: 4 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.005361, allocations: 34.56 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.005362, allocations: 0 / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001422/0.005504, allocations: 65.64 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.005534, allocations: 59.28 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.005579, allocations: 93.84 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.005591, allocations: 25.7 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.005613, allocations: 84.14 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.005646, allocations: 15.84 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.005673, allocations: 13.72 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.005765, allocations: 315 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.005783, allocations: 11.98 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.005797, allocations: 8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.005835, allocations: 24.86 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005836, allocations: 0 / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.866e-05/0.005895, allocations: 57.62 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.005909, allocations: 8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005913, allocations: 0 / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.005927, allocations: 0 / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.005964, allocations: 7.938 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.005969, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.005985, allocations: 7.984 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005989, allocations: 4 kB / 0.9539 GB, free: 15.76 MB / 0.9167 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 5.414e-05/0.006043, allocations: 109.8 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.006049, allocations: 4 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.006074, allocations: 7.531 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.006076, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.006082, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006085, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.088e-05/0.006156, allocations: 124.8 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006157, allocations: 4 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.006174, allocations: 8 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006175, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.00618, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006181, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006182, allocations: 3.938 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.006252, allocations: 85.02 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.006294, allocations: 12.36 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006303, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.006331, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.006345, allocations: 3.938 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.00635, allocations: 7.984 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.006372, allocations: 79.28 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006372, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001232/0.006495, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 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.0002465/0.006741, allocations: 0.6163 MB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.629e-05/0.006818, allocations: 23.98 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006819, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.006835, allocations: 12 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.007011, allocations: 25.91 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.007344, allocations: 150.4 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.007379, allocations: 55.36 kB / 0.9552 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.00741, allocations: 4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.007444, allocations: 12.5 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.007444, allocations: 0 / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.02135, allocations: 2.005 MB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.096, allocations: 6.016 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.210249478928745]