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.00141/0.00141, 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.001366/0.001366, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.516/2.516, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7133, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002457/0.7158, allocations: 1.35 MB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.7171, allocations: 0.8576 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.7171, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.7171, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.7172, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.7178, allocations: 184 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.7179, allocations: 15.88 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.7179, allocations: 7.984 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.718, allocations: 8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.718, allocations: 11.98 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.7181, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.7184, allocations: 187.8 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.7184, allocations: 7.922 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.7184, allocations: 8 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.7187, allocations: 155.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.7187, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7187, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7187, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 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.00037/0.7191, allocations: 351.6 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7191, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.7192, allocations: 30.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.7193, allocations: 8.922 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.7194, allocations: 160.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.7195, allocations: 4.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.7195, allocations: 7.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.7196, allocations: 41.69 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.7196, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.7196, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.7196, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.7197, allocations: 19.92 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.7198, allocations: 161.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.7207, allocations: 126.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.7208, allocations: 28.91 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.7209, allocations: 89.05 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.7209, allocations: 30.56 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.7209, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.7211, allocations: 65.61 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.7211, allocations: 51.41 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.7212, allocations: 97.86 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.7212, allocations: 29.83 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.7212, allocations: 80.14 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.7213, allocations: 11.75 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7213, allocations: 21.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.7214, allocations: 314.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.7214, allocations: 12 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.7215, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.7215, allocations: 29.12 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7215, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.803e-05/0.7216, allocations: 65.55 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7216, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7217, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.7217, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.7217, allocations: 8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7217, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.7218, allocations: 3.906 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.7218, allocations: 7.984 kB / 1.021 GB, free: 13.81 MB / 0.7794 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.255e-05/0.7219, allocations: 118.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.7219, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.7221, allocations: 77.11 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7221, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7221, allocations: 4.062 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7222, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.7223, allocations: 161.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7223, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.7223, allocations: 15.92 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7223, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.7224, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7224, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7224, allocations: 3.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.7225, allocations: 93 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.7225, allocations: 84.95 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.7226, allocations: 8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.7226, allocations: 3.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.7226, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.7226, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.7227, allocations: 75.28 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7227, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002369/0.7229, allocations: 47.98 kB / 1.022 GB, free: 13.01 MB / 0.7794 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.2294/0.9523, allocations: 0.686 MB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.9526, allocations: 35.92 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9526, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.9526, allocations: 16 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.9529, allocations: 8.25 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.9535, allocations: 180.3 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.9537, allocations: 0.6768 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.333e-05/0.9538, allocations: 11.94 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.9539, allocations: 15.42 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of SimCode: time 6.42e-07/0.9539, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.9757, allocations: 1.857 MB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.976, allocations: 275.9 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.641, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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