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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001103/0.001103, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.72 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002211/0.2793, allocations: 1.354 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.4207, allocations: 145.3 MB / 1.195 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.4207, allocations: 0 / 1.195 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.4208, allocations: 7.938 kB / 1.195 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.4209, allocations: 3.984 kB / 1.195 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.4213, allocations: 95.56 kB / 1.196 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.4214, allocations: 23.86 kB / 1.196 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.4214, allocations: 4 kB / 1.196 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.4215, allocations: 11.92 kB / 1.196 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.4215, allocations: 4 kB / 1.196 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.4215, allocations: 0 / 1.196 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.422, allocations: 183.7 kB / 1.196 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.422, allocations: 7.875 kB / 1.196 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.422, allocations: 4 kB / 1.196 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4223, allocations: 116 kB / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4223, allocations: 0 / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4223, allocations: 0 / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.4223, allocations: 0 / 1.196 GB, free: 4.508 MB / 0.9512 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.0003292/0.4226, allocations: 351.5 kB / 1.196 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4227, allocations: 15.91 kB / 1.196 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.4227, allocations: 34.75 kB / 1.196 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.4233, allocations: 40.8 kB / 1.196 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4234, allocations: 168.1 kB / 1.196 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4234, allocations: 0 / 1.196 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.4234, allocations: 3.938 kB / 1.196 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4236, allocations: 49.67 kB / 1.197 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4236, allocations: 3.938 kB / 1.197 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4236, allocations: 0 / 1.197 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4236, allocations: 4 kB / 1.197 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4238, allocations: 15.97 kB / 1.197 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.4241, allocations: 252.9 kB / 1.197 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.4242, allocations: 26.52 kB / 1.197 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.4242, allocations: 16.91 kB / 1.197 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4242, allocations: 3.984 kB / 1.197 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4242, allocations: 30.56 kB / 1.197 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4242, allocations: 4 kB / 1.197 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.4244, allocations: 37.7 kB / 1.197 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.4244, allocations: 55.53 kB / 1.197 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4246, allocations: 117.8 kB / 1.197 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4246, allocations: 25.7 kB / 1.197 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.4246, allocations: 87.98 kB / 1.197 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.4247, allocations: 3.906 kB / 1.197 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.4247, allocations: 21.7 kB / 1.197 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.4248, allocations: 318.8 kB / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.4249, allocations: 15.98 kB / 1.198 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.425, allocations: 11.98 kB / 1.198 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.4251, allocations: 20.84 kB / 1.198 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4251, allocations: 0 / 1.198 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000187/0.4253, allocations: 57.67 kB / 1.198 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4253, allocations: 8 kB / 1.198 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4253, allocations: 0 / 1.198 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.4253, allocations: 0 / 1.198 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4254, allocations: 15.92 kB / 1.198 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4254, allocations: 0 / 1.198 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.4256, allocations: 15.92 kB / 1.198 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4256, allocations: 0 / 1.198 GB, free: 2.477 MB / 0.9512 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.95e-05/0.4257, allocations: 113.8 kB / 1.198 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4257, allocations: 0 / 1.198 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.4257, allocations: 11.11 kB / 1.198 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4257, allocations: 0 / 1.198 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4258, allocations: 4 kB / 1.198 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4258, allocations: 7.875 kB / 1.198 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4259, allocations: 149.6 kB / 1.198 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4259, allocations: 4 kB / 1.198 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.426, allocations: 0 / 1.198 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.426, allocations: 0 / 1.198 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.426, allocations: 4 kB / 1.198 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.426, allocations: 4 kB / 1.198 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.426, allocations: 0 / 1.198 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.4261, allocations: 147.3 kB / 1.198 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.4262, allocations: 81.05 kB / 1.198 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4262, allocations: 4 kB / 1.198 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.4263, allocations: 0 / 1.198 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.4263, allocations: 3.938 kB / 1.198 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4263, allocations: 12.02 kB / 1.198 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.4264, allocations: 91.59 kB / 1.198 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4264, allocations: 0 / 1.198 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002421/0.4267, allocations: 16 kB / 1.198 GB, free: 1.746 MB / 0.9512 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.0004167/0.4271, allocations: 0.6696 MB / 1.199 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.4272, allocations: 23.92 kB / 1.199 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4273, allocations: 0 / 1.199 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.4273, allocations: 7.984 kB / 1.199 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.4276, allocations: 11.94 kB / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.428, allocations: 158.6 kB / 1.199 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.4282, allocations: 0.6734 MB / 1.2 GB, free: 116 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.4283, allocations: 15.92 kB / 1.2 GB, free: 100 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.4284, allocations: 11.42 kB / 1.2 GB, free: 88 kB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.4284, allocations: 3.938 kB / 1.2 GB, free: 84 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.4388, allocations: 1.448 MB / 1.201 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.439, allocations: 219.8 kB / 1.201 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.131, allocations: 0 / 1.201 GB, free: 14.53 MB / 0.9669 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=50 --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