Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.006419/0.006419, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001201/0.001201, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7421 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8468, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002343/0.8492, allocations: 1.252 MB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.8497, allocations: 287.1 kB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.8498, allocations: 0 / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.8498, allocations: 7.938 kB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.8499, allocations: 0 / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.8502, allocations: 59.73 kB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.8502, allocations: 19.86 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.8503, allocations: 4 kB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.8503, allocations: 11.94 kB / 1.221 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.8504, allocations: 4 kB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.8504, allocations: 0 / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.8505, allocations: 59.94 kB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.8506, allocations: 11.92 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.8506, allocations: 4 kB / 1.221 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.8507, allocations: 55.67 kB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8507, allocations: 0 / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8508, allocations: 0 / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8508, allocations: 0 / 1.221 GB, free: 484 kB / 0.9356 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.0003469/0.8511, allocations: 335.2 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8512, allocations: 8.625 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.8512, allocations: 42.67 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.8514, allocations: 16.92 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.8515, allocations: 164.4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.8516, allocations: 384 / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.8516, allocations: 384 / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.8517, allocations: 46.25 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8517, allocations: 7.875 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8517, allocations: 4 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.8517, allocations: 0 / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.8518, allocations: 19.98 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.8519, allocations: 157.7 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.8538, allocations: 262.5 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.8539, allocations: 28.84 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.8539, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.8539, allocations: 34.5 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8539, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.8541, allocations: 69.58 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.8541, allocations: 51.41 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.8542, allocations: 93.86 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.8542, allocations: 33.7 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.8543, allocations: 80.14 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.8543, allocations: 15.78 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.8543, allocations: 21.7 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8544, allocations: 310.8 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.8545, allocations: 8 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.8545, allocations: 8 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.8546, allocations: 33.17 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8546, allocations: 4 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.304e-05/0.8547, allocations: 53.69 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.8547, allocations: 11.94 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8547, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8547, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.8548, allocations: 8 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.8548, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.8548, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.8548, allocations: 4 kB / 1.223 GB, free: 14.35 MB / 0.9512 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 6.809e-05/0.8549, allocations: 114.3 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.8549, allocations: 7.938 kB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.855, allocations: 11.48 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.855, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.855, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.855, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.8551, allocations: 157.6 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8551, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.8552, allocations: 8 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.8552, allocations: 3.938 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8552, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8552, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8552, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.8553, allocations: 77.08 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.8554, allocations: 85.09 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.8554, allocations: 3.938 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.8555, allocations: 4 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.8555, allocations: 11.94 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.8555, allocations: 4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.8555, allocations: 79.22 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8555, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001916/0.8557, allocations: 8 kB / 1.224 GB, free: 13.68 MB / 0.9512 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.0003735/0.8561, allocations: 0.6125 MB / 1.224 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.8562, allocations: 35.92 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8562, allocations: 0 / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.8563, allocations: 12 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.8565, allocations: 10.39 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.8569, allocations: 158.4 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.8572, allocations: 0.6768 MB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.8572, allocations: 4.328 kB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.8573, allocations: 7.438 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.8573, allocations: 0 / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.8746, allocations: 1.333 MB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.359, allocations: 9.766 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches