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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123/0.00123, allocations: 192.5 kB / 16.25 MB, free: 6.598 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.254/1.254, allocations: 222.9 MB / 239.9 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.17/2.17, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5302, allocations: 140.4 MB / 0.9492 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00191/0.5322, allocations: 1.333 MB / 0.9505 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.5332, allocations: 0.8656 MB / 0.9514 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.5332, allocations: 0 / 0.9514 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.5332, allocations: 5.312 kB / 0.9514 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.5333, allocations: 7.969 kB / 0.9514 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.5338, allocations: 177 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.5339, allocations: 17.5 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.5339, allocations: 1.375 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.5339, allocations: 16.05 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.534, allocations: 2.75 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.534, allocations: 1.375 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.5342, allocations: 193.1 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.5343, allocations: 8.578 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.5343, allocations: 12.44 kB / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.5345, allocations: 147.4 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5345, allocations: 1.375 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5345, allocations: 3.938 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5345, allocations: 0 / 0.952 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.0002963/0.5348, allocations: 354.8 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5349, allocations: 8.75 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.13e-05/0.5349, allocations: 36.06 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.535, allocations: 10.52 kB / 0.9523 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.142e-05/0.5351, allocations: 164.4 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5351, allocations: 5.5 kB / 0.9525 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5351, allocations: 9.094 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.722e-05/0.5352, allocations: 49.19 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.5352, allocations: 0 / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.5353, allocations: 0.9688 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.5353, allocations: 0 / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.5353, allocations: 12.62 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.889e-05/0.5354, allocations: 155 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.5363, allocations: 137.3 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.5363, allocations: 26.66 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.5364, allocations: 85.31 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.5364, allocations: 36.09 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5364, allocations: 0 / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.5366, allocations: 61.14 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.5366, allocations: 56.62 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.055e-05/0.5366, allocations: 90.95 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.5367, allocations: 26.98 kB / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.097e-06/0.5367, allocations: 80.14 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.5367, allocations: 17 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5367, allocations: 30.08 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.5368, allocations: 312.1 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.5368, allocations: 7.781 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.5368, allocations: 13.14 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.5369, allocations: 20.42 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5369, allocations: 0 / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.187e-05/0.5369, allocations: 56.88 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.537, allocations: 5 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.537, allocations: 0 / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.537, allocations: 5.344 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.537, allocations: 13.2 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.537, allocations: 1.406 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.5371, allocations: 4 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.5371, allocations: 1.438 kB / 0.9538 GB, free: 5.285 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 4e-05/0.5371, allocations: 112.3 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5372, allocations: 5.094 kB / 0.9539 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.5373, allocations: 82.89 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5374, allocations: 0 / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5374, allocations: 1.703 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5374, allocations: 0 / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.019e-05/0.5374, allocations: 159.4 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5374, allocations: 4.062 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.5375, allocations: 19.45 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5375, allocations: 3.984 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.5375, allocations: 1.375 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5375, allocations: 1.219 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5375, allocations: 0 / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.5376, allocations: 84.62 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.5377, allocations: 91.34 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.5377, allocations: 1.156 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.5377, allocations: 5.094 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.5378, allocations: 2.688 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.5378, allocations: 1.469 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.5378, allocations: 75.28 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5378, allocations: 1.531 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002224/0.538, allocations: 55.7 kB / 0.9544 GB, free: 4.59 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.0004368/0.5385, allocations: 0.6942 MB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.049e-05/0.5386, allocations: 28.48 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5386, allocations: 3.938 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.5386, allocations: 14.56 kB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.5387, allocations: 7.703 kB / 0.9552 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.5391, allocations: 171.7 kB / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.5392, allocations: 0.6803 MB / 0.956 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.5393, allocations: 22.19 kB / 0.956 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.5393, allocations: 10.59 kB / 0.956 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.5393, allocations: 0 / 0.956 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.5549, allocations: 1.854 MB / 0.9578 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.555, allocations: 262.3 kB / 0.9581 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.089, allocations: 0 / 0.9581 GB, free: 1.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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