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.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,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.0008876/0.0008876, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004983/0.004983, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.091/2.091, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5083, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001012/0.5093, allocations: 0.9918 MB / 0.9561 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.5104, allocations: 0.8844 MB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.5105, allocations: 1.062 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.5105, allocations: 3.938 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.5105, allocations: 1.031 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.511, allocations: 149.5 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.016e-05/0.5111, allocations: 29.58 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.5111, allocations: 4.984 kB / 0.9572 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.5111, allocations: 4.75 kB / 0.9572 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.5112, allocations: 7.469 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.5112, allocations: 0 / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.5115, allocations: 198.5 kB / 0.9574 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.5115, allocations: 1.188 kB / 0.9574 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.5115, allocations: 32.98 kB / 0.9574 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.5117, allocations: 154.1 kB / 0.9576 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5117, allocations: 4 kB / 0.9576 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5118, allocations: 1.188 kB / 0.9576 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.5118, allocations: 0 / 0.9576 GB, free: 5.824 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.0002607/0.512, allocations: 356 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.5121, allocations: 14.12 kB / 0.9579 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.119e-05/0.5121, allocations: 30.75 kB / 0.958 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.5122, allocations: 10.73 kB / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.812e-05/0.5123, allocations: 160.4 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.5123, allocations: 5.906 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.5123, allocations: 9.875 kB / 0.9581 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.5124, allocations: 44.05 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.5124, allocations: 0 / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5124, allocations: 1.812 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5125, allocations: 0 / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.5125, allocations: 17.83 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.507e-05/0.5126, allocations: 153.3 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.5134, allocations: 126.4 kB / 0.9585 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.5134, allocations: 29.2 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-05/0.5135, allocations: 85.73 kB / 0.9586 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.5135, allocations: 31.75 kB / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5135, allocations: 0 / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001371/0.5137, allocations: 66.3 kB / 0.9587 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.5137, allocations: 51.41 kB / 0.9587 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.055e-05/0.5137, allocations: 95.3 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.5137, allocations: 29.83 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.714e-06/0.5137, allocations: 81.64 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.5138, allocations: 9.344 kB / 0.9589 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.5138, allocations: 15.16 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.5138, allocations: 314.8 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.5139, allocations: 4.688 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.5139, allocations: 8.312 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.5139, allocations: 27.94 kB / 0.9593 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5139, allocations: 5.125 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.035e-05/0.514, allocations: 69.22 kB / 0.9593 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.514, allocations: 7.188 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.514, allocations: 0 / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.514, allocations: 0 / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.5141, allocations: 5.625 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5141, allocations: 1.75 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.5141, allocations: 3.938 kB / 0.9594 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5141, allocations: 1.812 kB / 0.9594 GB, free: 3.957 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.184e-05/0.5142, allocations: 119.6 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.5142, allocations: 9.719 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.5144, allocations: 74.58 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5144, allocations: 0 / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5144, allocations: 0 / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5144, allocations: 1.781 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.04e-05/0.5145, allocations: 171.1 kB / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5145, allocations: 0 / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.5146, allocations: 7.781 kB / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5146, allocations: 0 / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5146, allocations: 2.188 kB / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5146, allocations: 3.984 kB / 0.9597 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5146, allocations: 0 / 0.9597 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.5147, allocations: 89.19 kB / 0.9598 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.5147, allocations: 82.33 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.5147, allocations: 1.375 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.5148, allocations: 1.594 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.5148, allocations: 11.39 kB / 0.9599 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.5148, allocations: 0 / 0.9599 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.316e-05/0.5148, allocations: 76.66 kB / 0.96 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5148, allocations: 0 / 0.96 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000221/0.515, allocations: 43.75 kB / 0.96 GB, free: 3.273 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.0004177/0.5155, allocations: 0.705 MB / 0.9607 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.5155, allocations: 27.06 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5156, allocations: 1.375 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.5156, allocations: 17.61 kB / 0.9608 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.5157, allocations: 12.12 kB / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.5161, allocations: 184.7 kB / 0.961 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.5162, allocations: 0.6798 MB / 0.9616 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.59e-05/0.5162, allocations: 8.125 kB / 0.9616 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.5163, allocations: 19.55 kB / 0.9616 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5163, allocations: 0 / 0.9616 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8643/1.381, allocations: 1.716 MB / 0.9633 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.381, allocations: 256.5 kB / 0.9636 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/4.014, allocations: 0 / 0.9636 GB, free: 0.5781 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