Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_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.005927/0.005927, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001199/0.001199, allocations: 196.2 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7422 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 75.86 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9391, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003092/0.9422, allocations: 1.266 MB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.9439, allocations: 0.8613 MB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.9439, allocations: 0 / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.944, allocations: 0 / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.944, allocations: 11.92 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.9449, allocations: 190.9 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.9449, allocations: 23.86 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.945, allocations: 8 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.945, allocations: 4 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.9451, allocations: 11.98 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.9451, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.9455, allocations: 239.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.9456, allocations: 3.938 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.9456, allocations: 8 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.9459, allocations: 155.3 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.9459, allocations: 0 / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.615e-06/0.946, allocations: 0 / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.946, allocations: 0 / 1.222 GB, free: 15.51 MB / 0.9512 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.0004659/0.9464, allocations: 355.3 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9465, allocations: 8.031 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.9465, allocations: 34.75 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.9467, allocations: 8.922 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9469, allocations: 168.3 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.9469, allocations: 384 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.9469, allocations: 11.94 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.947, allocations: 45.62 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9471, allocations: 4 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9471, allocations: 0 / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.9471, allocations: 4 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.9471, allocations: 15.98 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.9473, allocations: 157.7 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.9483, allocations: 138.4 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.9484, allocations: 20.86 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.9485, allocations: 85.09 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.9485, allocations: 38.5 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.9485, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000196/0.9487, allocations: 61.83 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.9488, allocations: 55.34 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.9489, allocations: 97.86 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.9489, allocations: 29.7 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.949, allocations: 84.12 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.949, allocations: 7.906 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.949, allocations: 17.72 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9492, allocations: 310.8 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.9492, allocations: 11.98 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.9492, allocations: 11.98 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.9493, allocations: 32.92 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9493, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.9494, allocations: 57.62 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9494, allocations: 11.98 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9494, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.9495, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.9495, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9495, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.9496, allocations: 4 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.9496, allocations: 4 kB / 1.224 GB, free: 13.4 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 7.744e-05/0.9497, allocations: 118.2 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.9497, allocations: 4 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.95, allocations: 81.09 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.95, allocations: 4 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.95, allocations: 4 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.95, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.9501, allocations: 161.6 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9501, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.9502, allocations: 11.94 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.9502, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.9502, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9502, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9502, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.9504, allocations: 97.06 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.9504, allocations: 85.09 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.9505, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.9505, allocations: 4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.9505, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.9505, allocations: 11.92 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.9506, allocations: 75.28 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9506, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002599/0.9509, allocations: 51.97 kB / 1.225 GB, free: 12.59 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 (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.0006835/0.9516, allocations: 0.6906 MB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9517, allocations: 23.98 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9517, allocations: 4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.9517, allocations: 23.92 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.9519, allocations: 8 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.9524, allocations: 172 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.9527, allocations: 0.6729 MB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.9527, allocations: 16.22 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.9528, allocations: 7.438 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.9528, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.9713, allocations: 1.996 MB / 1.228 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.494, allocations: 8.188 kB / 1.228 GB, free: 9.039 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches