Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001359/0.001359, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001431/0.001431, allocations: 214.8 kB / 23.04 MB, free: 5.07 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.401/3.401, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.31 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4336, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003114/0.4367, allocations: 1.696 MB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.4375, allocations: 403 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.4376, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.4377, allocations: 11.86 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.4377, allocations: 23.78 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.4382, allocations: 124.7 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.4384, allocations: 103.6 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.4385, allocations: 31.92 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.4386, allocations: 47.84 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.4386, allocations: 39.78 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.4387, allocations: 8 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.4388, allocations: 67.94 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.4388, allocations: 19.92 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.4389, allocations: 47.78 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.4391, allocations: 131.5 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4391, allocations: 4 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4391, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4391, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006547/0.4398, allocations: 341.8 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4398, allocations: 8.031 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.4399, allocations: 4.188 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.4399, allocations: 38.73 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.4402, allocations: 32.83 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4406, allocations: 146.3 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4407, allocations: 55.97 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4407, allocations: 12.38 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.4411, allocations: 109.7 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4411, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4411, allocations: 4 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4411, allocations: 4 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.4415, allocations: 83.88 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.4425, allocations: 351.6 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.4432, allocations: 130.6 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4434, allocations: 44.83 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4434, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4435, allocations: 34.56 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4435, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006444/0.4441, allocations: 137.5 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4442, allocations: 55.34 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4444, allocations: 139.3 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4444, allocations: 25.7 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.4445, allocations: 104.1 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4445, allocations: 23.8 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.4446, allocations: 25.7 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4448, allocations: 322.8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4449, allocations: 27.97 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4451, allocations: 42 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.4454, allocations: 89.91 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4454, allocations: 0 / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004382/0.4459, allocations: 113.6 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4459, allocations: 7.938 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.4459, allocations: 0 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.4459, allocations: 7.938 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4461, allocations: 23.95 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4461, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4462, allocations: 7.953 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4463, allocations: 8 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001472/0.4464, allocations: 117.8 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.4465, allocations: 7.953 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.4465, allocations: 12.66 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.4465, allocations: 4 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4465, allocations: 4 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4465, allocations: 0 / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.4469, allocations: 176.6 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4469, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.447, allocations: 15.98 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.447, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.447, allocations: 7.875 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.447, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.447, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.4475, allocations: 207.4 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.4476, allocations: 11.94 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4476, allocations: 7.938 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4478, allocations: 15.98 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.4479, allocations: 4 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4479, allocations: 3.984 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001176/0.448, allocations: 104.5 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/0.448, allocations: 4 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004419/0.4485, allocations: 20 kB / 1.351 GB, free: 10.2 MB / 1.045 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 (7): * Single equations (assignments): 7 * 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.0009096/0.4494, allocations: 0.7318 MB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4498, allocations: 83.81 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4498, allocations: 4 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.45, allocations: 35.97 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.4506, allocations: 24.47 kB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.4536, allocations: 1.564 MB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.454, allocations: 0.6963 MB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4541, allocations: 4.672 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.4542, allocations: 27.42 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of SimCode: time 1.122e-06/0.4542, allocations: 0 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.482, allocations: 2.911 MB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.71, allocations: 9.625 kB / 1.357 GB, free: 4.129 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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: 18.989276241045445]