Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.006956/0.006956, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001758/0.001758, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.6 MB / 0.7551 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.06 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002122/0.2905, allocations: 1.289 MB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.4547, allocations: 147.6 MB / 1.387 GB, free: 3.41 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.4548, allocations: 0 / 1.387 GB, free: 3.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.4549, allocations: 0 / 1.387 GB, free: 3.41 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.4549, allocations: 3.938 kB / 1.387 GB, free: 3.406 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.4554, allocations: 115.4 kB / 1.387 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.4554, allocations: 23.88 kB / 1.387 GB, free: 3.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.4555, allocations: 0 / 1.387 GB, free: 3.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.4555, allocations: 11.98 kB / 1.387 GB, free: 3.258 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.4556, allocations: 11.92 kB / 1.387 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.4556, allocations: 0 / 1.387 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.456, allocations: 175.7 kB / 1.388 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.456, allocations: 0 / 1.388 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.4561, allocations: 7.938 kB / 1.388 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.4563, allocations: 119.9 kB / 1.388 GB, free: 2.949 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4563, allocations: 3.938 kB / 1.388 GB, free: 2.945 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4563, allocations: 3.938 kB / 1.388 GB, free: 2.941 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.4563, allocations: 0 / 1.388 GB, free: 2.941 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003758/0.4567, allocations: 351.2 kB / 1.388 GB, free: 2.551 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4568, allocations: 12.03 kB / 1.388 GB, free: 2.539 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.4568, allocations: 34.73 kB / 1.388 GB, free: 2.496 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/0.4573, allocations: 36.88 kB / 1.388 GB, free: 2.461 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.4575, allocations: 176 kB / 1.388 GB, free: 2.25 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.4575, allocations: 0 / 1.388 GB, free: 2.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4575, allocations: 4 kB / 1.388 GB, free: 2.246 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.4577, allocations: 49.66 kB / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4577, allocations: 0 / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.4577, allocations: 0 / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4577, allocations: 0 / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4578, allocations: 19.92 kB / 1.388 GB, free: 2.172 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4582, allocations: 256.9 kB / 1.389 GB, free: 1.871 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.4583, allocations: 22.58 kB / 1.389 GB, free: 1.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.4583, allocations: 12.92 kB / 1.389 GB, free: 1.824 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.4583, allocations: 0 / 1.389 GB, free: 1.824 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4583, allocations: 30.56 kB / 1.389 GB, free: 1.785 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4583, allocations: 0 / 1.389 GB, free: 1.785 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001397/0.4585, allocations: 53.62 kB / 1.389 GB, free: 1.727 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4585, allocations: 51.41 kB / 1.389 GB, free: 1.664 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4587, allocations: 109.8 kB / 1.389 GB, free: 1.547 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4587, allocations: 25.7 kB / 1.389 GB, free: 1.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.4588, allocations: 88.09 kB / 1.389 GB, free: 1.426 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.4588, allocations: 7.953 kB / 1.389 GB, free: 1.418 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.4588, allocations: 17.7 kB / 1.389 GB, free: 1.395 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.459, allocations: 319 kB / 1.389 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.459, allocations: 19.94 kB / 1.389 GB, free: 1.055 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.4591, allocations: 7.984 kB / 1.389 GB, free: 1.047 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.4592, allocations: 28.78 kB / 1.389 GB, free: 1.016 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4592, allocations: 0 / 1.389 GB, free: 1.016 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.4594, allocations: 57.67 kB / 1.389 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4594, allocations: 11.98 kB / 1.389 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4594, allocations: 0 / 1.389 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4594, allocations: 0 / 1.389 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.4595, allocations: 4.328 kB / 1.389 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4596, allocations: 3.984 kB / 1.389 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.4597, allocations: 11.94 kB / 1.389 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4597, allocations: 0 / 1.389 GB, free: 0.9219 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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.204e-05/0.4598, allocations: 113.8 kB / 1.39 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.4598, allocations: 7.938 kB / 1.39 GB, free: 0.793 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.4599, allocations: 11.11 kB / 1.39 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4599, allocations: 0 / 1.39 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4599, allocations: 0 / 1.39 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4599, allocations: 3.938 kB / 1.39 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.4601, allocations: 149.7 kB / 1.39 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4601, allocations: 0 / 1.39 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.4601, allocations: 11.94 kB / 1.39 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4601, allocations: 4 kB / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.4601, allocations: 0 / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4601, allocations: 0 / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4601, allocations: 0 / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.4603, allocations: 143.4 kB / 1.39 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.4603, allocations: 77.11 kB / 1.39 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4603, allocations: 0 / 1.39 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.4604, allocations: 8.016 kB / 1.39 GB, free: 320 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.4605, allocations: 7.938 kB / 1.39 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.4605, allocations: 0 / 1.39 GB, free: 312 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001034/0.4606, allocations: 91.27 kB / 1.39 GB, free: 220 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4606, allocations: 0 / 1.39 GB, free: 220 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002352/0.4608, allocations: 15.94 kB / 1.39 GB, free: 204 kB / 1.107 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.0004798/0.4613, allocations: 0.6895 MB / 1.391 GB, free: 15.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.4614, allocations: 19.92 kB / 1.391 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4615, allocations: 0 / 1.391 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.4615, allocations: 7.938 kB / 1.391 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4618, allocations: 16.03 kB / 1.391 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.4622, allocations: 156.8 kB / 1.391 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.4625, allocations: 0.6768 MB / 1.392 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.4625, allocations: 7.938 kB / 1.392 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.4626, allocations: 11.44 kB / 1.392 GB, free: 14.52 MB / 1.123 GB Notification: Performance of SimCode: time 2.7e-07/0.4626, allocations: 0 / 1.392 GB, free: 14.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/0.6575, allocations: 1.596 MB / 1.393 GB, free: 13.07 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.529, allocations: 9.844 kB / 1.393 GB, free: 13.07 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches