Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001267/0.001267, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001924/0.001924, allocations: 210 kB / 22.24 MB, free: 5.258 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.341/3.341, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",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.002117/0.002117, allocations: 67.62 kB / 1.153 GB, free: 25.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4414, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004304/0.4457, allocations: 1.66 MB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4468, allocations: 378.9 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.447, allocations: 4 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.4471, allocations: 11.86 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.4472, allocations: 23.78 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.4479, allocations: 129.7 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4481, allocations: 103.6 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.4483, allocations: 36.2 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4484, allocations: 43.84 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.4485, allocations: 31.84 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.4485, allocations: 8 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.4487, allocations: 64.02 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.4488, allocations: 19.92 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4488, allocations: 43.7 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.4491, allocations: 131.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4491, allocations: 3.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4491, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4491, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 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.0007935/0.4499, allocations: 341.8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.45, allocations: 8.031 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.4501, allocations: 46.73 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.4503, allocations: 28.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.4507, allocations: 150.3 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.4508, allocations: 59.97 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4508, allocations: 4.375 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.4511, allocations: 139.5 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4511, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4511, allocations: 4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4511, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.4514, allocations: 87.88 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.4522, allocations: 327.6 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.4528, allocations: 126.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4529, allocations: 36.88 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4529, allocations: 11.94 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.453, allocations: 30.56 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.453, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.4534, allocations: 141.7 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.4535, allocations: 55.34 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.4537, allocations: 135.7 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.4537, allocations: 29.7 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.4538, allocations: 100.1 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.4538, allocations: 27.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.4539, allocations: 17.72 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.454, allocations: 322.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4541, allocations: 31.97 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4543, allocations: 45.69 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4545, allocations: 82.08 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4545, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002842/0.4548, allocations: 105.6 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4548, allocations: 8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4548, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4548, allocations: 3.938 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4549, allocations: 19.92 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4549, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.455, allocations: 15.94 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.455, allocations: 4.031 kB / 1.33 GB, free: 13.02 MB / 1.029 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.0001225/0.4552, allocations: 114.4 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.4552, allocations: 11.89 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.4553, allocations: 20.7 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4553, allocations: 3.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4553, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4553, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4555, allocations: 156.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4555, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4556, allocations: 15.98 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4556, allocations: 8 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4556, allocations: 4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.4556, allocations: 3.938 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4556, allocations: 7.875 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.456, allocations: 203.4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.456, allocations: 7.953 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.456, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.4562, allocations: 15.92 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.4562, allocations: 11.98 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4562, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001011/0.4563, allocations: 104.8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4563, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002498/0.4566, allocations: 19.95 kB / 1.331 GB, free: 12.24 MB / 1.029 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.0007286/0.4573, allocations: 0.7397 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.4576, allocations: 75.94 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4576, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4577, allocations: 31.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4581, allocations: 28.47 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4603, allocations: 1.567 MB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.4604, allocations: 83.22 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.894e-05/0.4605, allocations: 16.66 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.4605, allocations: 23.44 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4605, allocations: 0 / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.4913, allocations: 3.403 MB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.58, allocations: 8.438 kB / 1.337 GB, free: 6.312 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.785640534944832]