Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_TDewPoi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007157/0.007157, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3292, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002385/0.3316, allocations: 1.276 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3331, allocations: 0.8617 MB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.3331, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.3332, allocations: 7.984 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.3332, allocations: 7.922 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.3339, allocations: 198.6 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.334, allocations: 19.92 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.334, allocations: 11.98 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.3341, allocations: 4 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.3341, allocations: 11.94 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.3341, allocations: 3.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3346, allocations: 235.7 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.3346, allocations: 7.969 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3346, allocations: 11.94 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.3349, allocations: 143.6 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3349, allocations: 4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3349, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3349, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 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.0004918/0.3354, allocations: 363.1 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3355, allocations: 12.03 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.3355, allocations: 34.75 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3357, allocations: 8.922 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3358, allocations: 160.4 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3358, allocations: 384 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3359, allocations: 7.938 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.336, allocations: 41.62 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.336, allocations: 0 / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.336, allocations: 8 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.336, allocations: 7.984 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.3361, allocations: 12 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3363, allocations: 153.7 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.3373, allocations: 134.5 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3373, allocations: 24.84 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3374, allocations: 81.11 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.3375, allocations: 42.5 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3375, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/0.3377, allocations: 65.62 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3377, allocations: 51.41 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.3378, allocations: 93.86 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3379, allocations: 29.83 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.3379, allocations: 80.14 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3379, allocations: 11.89 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.338, allocations: 25.66 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3381, allocations: 310.8 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.3382, allocations: 8 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.3382, allocations: 7.984 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.3383, allocations: 28.8 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3383, allocations: 8 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.3384, allocations: 57.91 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3384, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3384, allocations: 7.938 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3384, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.3385, allocations: 4.047 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3385, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.3386, allocations: 11.97 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3386, allocations: 3.938 kB / 1.171 GB, free: 2.371 MB / 0.92 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 0.0001027/0.3387, allocations: 122.4 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3387, allocations: 4 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.339, allocations: 73.17 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.339, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.339, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.339, allocations: 4 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3391, allocations: 161.6 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3392, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3392, allocations: 11.98 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3392, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3392, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3392, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3393, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3394, allocations: 96.95 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.3395, allocations: 81.11 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3395, allocations: 4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.3395, allocations: 7.984 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.3396, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3396, allocations: 128 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.3396, allocations: 79.28 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3396, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002639/0.3399, allocations: 51.86 kB / 1.171 GB, free: 1.582 MB / 0.92 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 (5): * Single equations (assignments): 5 * 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.0007526/0.3407, allocations: 0.6965 MB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3408, allocations: 27.92 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3408, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.3409, allocations: 23.88 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.341, allocations: 12 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3415, allocations: 166.6 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3419, allocations: 0.6768 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.967e-05/0.342, allocations: 12 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.342, allocations: 11.42 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.342, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.3661, allocations: 1.98 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.407, allocations: 7.938 kB / 1.175 GB, free: 14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches