Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.0009022/0.0009022, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005443/0.005443, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5269, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001141/0.5281, allocations: 1.007 MB / 0.9562 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.529, allocations: 0.7664 MB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.529, allocations: 1.375 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.5291, allocations: 0 / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.5291, allocations: 7.922 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.5295, allocations: 141.5 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.5296, allocations: 27.77 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.5296, allocations: 1.875 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.5297, allocations: 13.44 kB / 0.9571 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.5297, allocations: 15.97 kB / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.5298, allocations: 4.875 kB / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.5301, allocations: 283.1 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.5302, allocations: 3.984 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.5302, allocations: 39.11 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.5304, allocations: 161.8 kB / 0.9576 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5304, allocations: 1.094 kB / 0.9576 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5304, allocations: 0 / 0.9576 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5305, allocations: 3.938 kB / 0.9576 GB, free: 5.848 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002924/0.5307, allocations: 373 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5308, allocations: 8.844 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.5308, allocations: 32.09 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.531, allocations: 23.28 kB / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.112e-05/0.5311, allocations: 169.7 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.5311, allocations: 1.719 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5312, allocations: 1.719 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5313, allocations: 56.3 kB / 0.9582 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.5313, allocations: 3.938 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5313, allocations: 0 / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5313, allocations: 1.594 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.5314, allocations: 20.02 kB / 0.9582 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.5315, allocations: 164.5 kB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5316, allocations: 67.38 kB / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.5316, allocations: 28.06 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.5317, allocations: 1.062 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5317, allocations: 39.78 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.5317, allocations: 0 / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00016/0.5318, allocations: 80.92 kB / 0.9586 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.5319, allocations: 52.53 kB / 0.9587 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.5319, allocations: 94.92 kB / 0.9587 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.5319, allocations: 31.05 kB / 0.9588 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-06/0.5319, allocations: 80.14 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.532, allocations: 27.05 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.532, allocations: 11.09 kB / 0.9589 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.532, allocations: 316.4 kB / 0.9592 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.5321, allocations: 5.312 kB / 0.9592 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.5321, allocations: 14.64 kB / 0.9592 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.5321, allocations: 32.45 kB / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5321, allocations: 0 / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.502e-05/0.5322, allocations: 66.69 kB / 0.9593 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5323, allocations: 15.19 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5323, allocations: 0 / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5323, allocations: 1.375 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5324, allocations: 19.17 kB / 0.9593 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5324, allocations: 0 / 0.9593 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.5324, allocations: 5.344 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5325, allocations: 5.594 kB / 0.9593 GB, free: 4.016 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 (6): * Single equations (assignments): 6 * 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.272e-05/0.5325, allocations: 111.4 kB / 0.9595 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.5325, allocations: 10.97 kB / 0.9595 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.5327, allocations: 82.64 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5327, allocations: 7.875 kB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5327, allocations: 1.906 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.5327, allocations: 0 / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.58e-05/0.5328, allocations: 161.5 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5328, allocations: 4 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.5329, allocations: 17.45 kB / 0.9597 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5329, allocations: 3.938 kB / 0.9597 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5329, allocations: 6.344 kB / 0.9597 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5329, allocations: 0 / 0.9597 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5329, allocations: 0 / 0.9597 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.533, allocations: 103.6 kB / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.5331, allocations: 78.7 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.5331, allocations: 5.375 kB / 0.9599 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.5331, allocations: 17.55 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.5331, allocations: 1.469 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.5332, allocations: 1.562 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.295e-05/0.5332, allocations: 76.72 kB / 0.96 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5332, allocations: 0 / 0.96 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001786/0.5334, allocations: 12.78 kB / 0.96 GB, free: 3.316 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 (7): * Single equations (assignments): 7 * 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.0002366/0.5336, allocations: 0.6373 MB / 0.9606 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.5337, allocations: 41.59 kB / 0.9607 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5337, allocations: 0 / 0.9607 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.5337, allocations: 21.52 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.5339, allocations: 10.52 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.5343, allocations: 192.4 kB / 0.9609 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.648e-05/0.5344, allocations: 0.6785 MB / 0.9616 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.5344, allocations: 6.734 kB / 0.9616 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.5345, allocations: 11.56 kB / 0.9616 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5345, allocations: 4 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.541/3.075, allocations: 1.206 MB / 0.9628 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/3.076, allocations: 229.8 kB / 0.963 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.721/6.797, allocations: 1.281 kB / 0.963 GB, free: 0.9727 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches