Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.0008866/0.0008866, allocations: 97.72 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.005199/0.005199, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.113/2.113, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003027, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5218, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.0009933/0.5229, allocations: 1.015 MB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.5236, allocations: 0.574 MB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.334e-05/0.5236, allocations: 0 / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.5237, allocations: 0 / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.5237, allocations: 5.25 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.524, allocations: 79.2 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.903e-05/0.524, allocations: 17.38 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.5241, allocations: 9.062 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.5241, allocations: 7.562 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.5241, allocations: 11.62 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.5242, allocations: 1.188 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.5244, allocations: 148.2 kB / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.5244, allocations: 4.797 kB / 0.957 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.5244, allocations: 33.92 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.5246, allocations: 93.77 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5246, allocations: 0 / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5246, allocations: 3.938 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.5246, allocations: 0.9375 kB / 0.9571 GB, free: 6.125 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002312/0.5249, allocations: 347.9 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5249, allocations: 9.438 kB / 0.9575 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.272e-05/0.5249, allocations: 30.75 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.5253, allocations: 33.27 kB / 0.9575 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.5254, allocations: 165.4 kB / 0.9577 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.5254, allocations: 5.5 kB / 0.9577 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.5254, allocations: 384 / 0.9577 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5255, allocations: 46.89 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.5256, allocations: 7.922 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.5256, allocations: 0 / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.5256, allocations: 1.25 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5257, allocations: 23.52 kB / 0.9578 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.5258, allocations: 161.8 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.5259, allocations: 43.92 kB / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.526, allocations: 15.81 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.526, allocations: 5.094 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.818e-06/0.526, allocations: 35.62 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5261, allocations: 4 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002556/0.5263, allocations: 77.34 kB / 0.9581 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.5263, allocations: 51.41 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/0.5264, allocations: 98.25 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.5264, allocations: 25.7 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.164e-05/0.5264, allocations: 88.25 kB / 0.9583 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.5264, allocations: 9.531 kB / 0.9583 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.5265, allocations: 13.66 kB / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.5265, allocations: 312.3 kB / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.5266, allocations: 13.7 kB / 0.9587 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.5266, allocations: 10.48 kB / 0.9587 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.5267, allocations: 35.25 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5267, allocations: 0 / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.5269, allocations: 59.61 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5269, allocations: 9.031 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.5269, allocations: 0 / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.5269, allocations: 0 / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.527, allocations: 12.86 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.527, allocations: 5.453 kB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.5271, allocations: 5.469 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.5271, allocations: 5.391 kB / 0.9588 GB, free: 4.332 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 (2): * Single equations (assignments): 2 * 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.274e-05/0.5272, allocations: 111.1 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.5272, allocations: 5.125 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.5272, allocations: 8.156 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5272, allocations: 0 / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5272, allocations: 1.281 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5272, allocations: 0 / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.034e-05/0.5273, allocations: 154 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5273, allocations: 0 / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.5274, allocations: 9.953 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5274, allocations: 3.938 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5274, allocations: 5.078 kB / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5274, allocations: 0 / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5274, allocations: 0 / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.5276, allocations: 88.2 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.5276, allocations: 82.84 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5277, allocations: 3.938 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.5277, allocations: 5.969 kB / 0.9593 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.5277, allocations: 5.781 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5277, allocations: 9.672 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.744e-05/0.5278, allocations: 81.12 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5278, allocations: 0 / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001919/0.528, allocations: 18.94 kB / 0.9594 GB, free: 3.707 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 (2): * Single equations (assignments): 2 * 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.0003213/0.5283, allocations: 0.639 MB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.5284, allocations: 27.44 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5285, allocations: 1.219 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.5285, allocations: 15.8 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.5287, allocations: 12.17 kB / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.5291, allocations: 164.2 kB / 0.9602 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.5291, allocations: 0.6719 MB / 0.9609 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.701e-05/0.5292, allocations: 12.12 kB / 0.9609 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.5293, allocations: 12.8 kB / 0.9609 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5293, allocations: 0 / 0.9609 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009593/0.5389, allocations: 1.362 MB / 0.9622 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.539, allocations: 229.8 kB / 0.9624 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.064, allocations: 4 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches