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.00186/0.00186, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.001721/0.001721, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.23/3.23, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.002067/0.002067, allocations: 69.11 kB / 1.149 GB, free: 26.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 176.1 MB / 1.321 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002492/0.3171, allocations: 1.277 MB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.3178, allocations: 299.5 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.3178, allocations: 4 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3178, allocations: 0 / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.3178, allocations: 11.92 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3182, allocations: 43.75 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.3182, allocations: 15.94 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3183, allocations: 0 / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.3183, allocations: 8 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.3184, allocations: 15.91 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3184, allocations: 11.94 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3186, allocations: 55.95 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3186, allocations: 0 / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3186, allocations: 7.938 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3188, allocations: 52.09 kB / 1.323 GB, free: 1.676 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3188, allocations: 4 kB / 1.323 GB, free: 1.672 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3188, allocations: 3.938 kB / 1.323 GB, free: 1.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3188, allocations: 0 / 1.323 GB, free: 1.668 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.0005606/0.3194, allocations: 335.3 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.3194, allocations: 19.98 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.3195, allocations: 34.75 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.3197, allocations: 20.91 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3199, allocations: 160.4 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3199, allocations: 384 / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3199, allocations: 384 / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.32, allocations: 42.25 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.32, allocations: 7.922 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.32, allocations: 0 / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3201, allocations: 11.94 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.378e-05/0.3201, allocations: 23.92 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.3203, allocations: 157.7 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3223, allocations: 262.4 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.3224, allocations: 16.86 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3224, allocations: 4 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.3225, allocations: 34.56 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.3225, allocations: 0 / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002209/0.3227, allocations: 61.56 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.3227, allocations: 59.41 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.3228, allocations: 97.84 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3229, allocations: 25.7 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.3229, allocations: 80.14 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.323, allocations: 11.91 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.323, allocations: 17.77 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3232, allocations: 310.8 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.3232, allocations: 11.94 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.3232, allocations: 12.12 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.3233, allocations: 24.86 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3233, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.451e-05/0.3234, allocations: 57.62 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3234, allocations: 7.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3234, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3234, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.3235, allocations: 15.92 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3235, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.3235, allocations: 3.953 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3235, allocations: 4 kB / 1.324 GB, free: 15.54 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 9.814e-05/0.3236, allocations: 113.8 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.3236, allocations: 3.938 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.3237, allocations: 7.5 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3237, allocations: 0 / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3237, allocations: 0 / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3237, allocations: 4 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3238, allocations: 161.9 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3238, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3239, allocations: 7.938 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.3239, allocations: 11.92 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3239, allocations: 4 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3239, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3239, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.324, allocations: 77.11 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.3241, allocations: 81.11 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3242, allocations: 7.938 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.3242, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.3242, allocations: 7.984 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3242, allocations: 8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.3243, allocations: 75.28 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3243, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001943/0.3245, allocations: 4 kB / 1.325 GB, free: 14.88 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.0004439/0.3249, allocations: 0.6241 MB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.325, allocations: 23.98 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.325, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.3251, allocations: 15.94 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3253, allocations: 11.98 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.3258, allocations: 152.2 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.326, allocations: 0.6768 MB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.3261, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.3261, allocations: 11.44 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3261, allocations: 0 / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3496, allocations: 1.331 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.429, allocations: 14.25 kB / 1.328 GB, free: 12.02 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.202279068063945]