Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.812/1.812, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.597e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001634/0.00165, allocations: 1.281 MB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.002017, allocations: 207.3 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.002035, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.002053, allocations: 7.938 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.00209, allocations: 0 / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.002356, allocations: 47.69 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.002411, allocations: 15.98 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.002451, allocations: 7.984 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.002485, allocations: 7.938 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.002567, allocations: 11.98 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.002583, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/0.002664, allocations: 43.94 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.00268, allocations: 12 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.002696, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002805, allocations: 43.88 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002808, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002809, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002813, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003137/0.003126, allocations: 270.2 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.003166, allocations: 9.344 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.003197, allocations: 30.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.003303, allocations: 20.92 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.439e-05/0.003358, allocations: 101.8 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003368, allocations: 4.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.003391, allocations: 8.328 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003499, allocations: 67.95 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003505, allocations: 192 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003515, allocations: 4.375 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.00352, allocations: 4.125 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.003562, allocations: 15.98 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.003675, allocations: 128.8 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.003756, allocations: 46.56 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.003785, allocations: 16.98 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.003795, allocations: 3.984 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003815, allocations: 34.56 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.003815, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.001054/0.004869, allocations: 432.9 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.004896, allocations: 51.41 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.682e-05/0.004923, allocations: 93.86 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.004935, allocations: 29.64 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.004955, allocations: 84.14 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.004989, allocations: 35.67 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.005021, allocations: 21.72 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.005094, allocations: 310.8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.00513, allocations: 23.98 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.005167, allocations: 28.77 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.005258, allocations: 56.86 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005259, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001286/0.005388, allocations: 93.58 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.005406, allocations: 9.562 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.005414, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.005435, allocations: 7.875 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.005545, allocations: 15.98 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.005555, allocations: 3.938 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.005585, allocations: 4 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.005595, allocations: 8 kB / 1.003 GB, free: 9.574 MB / 0.9636 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 (9): * Single equations (assignments): 9 * 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 8.101e-05/0.005676, allocations: 109.8 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.005686, allocations: 4 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.005729, allocations: 12.41 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.005733, allocations: 3.938 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.005739, allocations: 0 / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.005747, allocations: 7.984 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.005868, allocations: 143 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005869, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.005948, allocations: 19.98 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.005951, allocations: 7.938 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.00596, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.005965, allocations: 7.938 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.005967, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.006201, allocations: 145.1 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.006211, allocations: 7.984 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.006227, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.006278, allocations: 11.92 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.006301, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.006312, allocations: 8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.006345, allocations: 75.28 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.006345, allocations: 4.062 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000136/0.006481, allocations: 8 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0003741/0.006855, allocations: 0.6866 MB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.006984, allocations: 51.98 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.006986, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.007023, allocations: 31.92 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.00725, allocations: 12.75 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.008356, allocations: 1.266 MB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.008405, allocations: 71.28 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.189e-05/0.008457, allocations: 11.98 kB / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.008507, allocations: 16.5 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.008508, allocations: 0 / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02505, allocations: 2.298 MB / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/6.766, allocations: 13.97 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.00130560528487]