Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_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.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6305, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002229/0.6328, allocations: 1.263 MB / 0.951 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.634, allocations: 0.877 MB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.6341, allocations: 0 / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.6341, allocations: 5.219 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.6341, allocations: 0 / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.6348, allocations: 188.4 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.824e-05/0.6348, allocations: 25.23 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.6349, allocations: 5.5 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.6349, allocations: 4.156 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.635, allocations: 7.688 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.635, allocations: 0 / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.6353, allocations: 204 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.6353, allocations: 1.438 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.6353, allocations: 8.281 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.6356, allocations: 151.6 kB / 0.9524 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6356, allocations: 0 / 0.9524 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6356, allocations: 0 / 0.9524 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.6356, allocations: 4 kB / 0.9524 GB, free: 7.164 MB / 0.7169 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.0003661/0.636, allocations: 358.2 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.636, allocations: 10.34 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.6361, allocations: 36 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6363, allocations: 9.609 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/0.6363, allocations: 164.4 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6364, allocations: 5.672 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.6364, allocations: 5.406 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6365, allocations: 48.78 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6365, allocations: 0 / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6365, allocations: 1.438 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6365, allocations: 0 / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.6366, allocations: 16.58 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.6367, allocations: 155.4 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.6376, allocations: 141.8 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.6377, allocations: 22.27 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/0.6378, allocations: 84.19 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.6378, allocations: 31.97 kB / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6378, allocations: 0 / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001587/0.638, allocations: 70.39 kB / 0.9535 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.638, allocations: 55.41 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.664e-05/0.6381, allocations: 91.08 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.6381, allocations: 26.92 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.09e-05/0.6381, allocations: 80.14 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.6381, allocations: 22.48 kB / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.6382, allocations: 12.97 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.6382, allocations: 316 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.6382, allocations: 11.8 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.6383, allocations: 13.19 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.6383, allocations: 27.83 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6383, allocations: 0 / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.716e-05/0.6384, allocations: 57.22 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6384, allocations: 5.531 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6384, allocations: 0 / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6384, allocations: 5.047 kB / 0.9542 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.6385, allocations: 5.5 kB / 0.9542 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6385, allocations: 5.125 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.6386, allocations: 0 / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.6386, allocations: 5.875 kB / 0.9542 GB, free: 5.277 MB / 0.7169 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 4.562e-05/0.6386, allocations: 110.8 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.6386, allocations: 9.844 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.6388, allocations: 74.36 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6389, allocations: 5.266 kB / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6389, allocations: 0 / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6389, allocations: 1.219 kB / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.6389, allocations: 159.9 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6389, allocations: 0 / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.639, allocations: 14.19 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.639, allocations: 1.344 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.639, allocations: 1.438 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.639, allocations: 4.062 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.639, allocations: 0 / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.6391, allocations: 89.69 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.6392, allocations: 86.59 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.6392, allocations: 1.062 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.6393, allocations: 1.5 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.6393, allocations: 5.531 kB / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.6393, allocations: 6.094 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.729e-05/0.6393, allocations: 84.33 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6393, allocations: 0 / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000242/0.6396, allocations: 40.91 kB / 0.9549 GB, free: 4.594 MB / 0.7169 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.0004898/0.6401, allocations: 0.7002 MB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.6402, allocations: 31.23 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6402, allocations: 1.156 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.6402, allocations: 22.64 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.6404, allocations: 5.812 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.6408, allocations: 161.7 kB / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.6409, allocations: 0.6762 MB / 0.9564 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.422e-05/0.641, allocations: 21.52 kB / 0.9564 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.6411, allocations: 14.5 kB / 0.9565 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6411, allocations: 0 / 0.9565 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.6579, allocations: 1.946 MB / 0.9584 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.777, allocations: 8.031 kB / 0.9584 GB, free: 1.965 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches