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.00169/0.00169, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001519/0.001519, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.968/2.968, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [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.002178/0.002178, allocations: 63.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.064, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002603/1.066, allocations: 1.679 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006471/1.067, allocations: 406.5 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/1.067, allocations: 6.812 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/1.067, allocations: 11.16 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/1.067, allocations: 18.77 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/1.068, allocations: 126.1 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/1.068, allocations: 110.5 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/1.068, allocations: 38.2 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/1.068, allocations: 41.23 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/1.068, allocations: 36.03 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/1.068, allocations: 5.656 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/1.068, allocations: 62.7 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/1.068, allocations: 25.56 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/1.068, allocations: 45.92 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/1.068, allocations: 127.8 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.068, allocations: 0 / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.068, allocations: 6.75 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.068, allocations: 0 / 1.325 GB, free: 23.29 MB / 1.061 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.000508/1.069, allocations: 424.7 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.069, allocations: 11.89 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/1.069, allocations: 34.05 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.069, allocations: 195.7 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/1.069, allocations: 39.22 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/1.069, allocations: 5.875 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/1.07, allocations: 97.55 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.07, allocations: 11.86 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.07, allocations: 6.875 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.07, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/1.07, allocations: 87.98 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/1.07, allocations: 386.6 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.071, allocations: 132.8 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.071, allocations: 36.95 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/1.071, allocations: 0 / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.071, allocations: 33.47 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/1.071, allocations: 0 / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/1.072, allocations: 144.8 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/1.072, allocations: 51.41 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/1.072, allocations: 141 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/1.072, allocations: 29.64 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/1.072, allocations: 100.8 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/1.072, allocations: 22.61 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/1.072, allocations: 22.2 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.072, allocations: 321.7 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/1.072, allocations: 30.81 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.072, allocations: 42.95 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/1.072, allocations: 86.61 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.072, allocations: 0 / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/1.072, allocations: 112.4 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.072, allocations: 9.406 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.072, allocations: 2.625 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.072, allocations: 0 / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.073, allocations: 21.28 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/1.073, allocations: 3.188 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/1.073, allocations: 17.33 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/1.073, allocations: 2.875 kB / 1.327 GB, free: 21.2 MB / 1.061 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 5.865e-05/1.073, allocations: 116 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/1.073, allocations: 9.047 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/1.073, allocations: 15.31 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.073, allocations: 3.938 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.073, allocations: 0 / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.073, allocations: 0 / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/1.073, allocations: 196 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.073, allocations: 5.125 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.073, allocations: 19.27 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.073, allocations: 0.9375 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.073, allocations: 4.75 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.073, allocations: 3.938 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.073, allocations: 0.6875 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/1.073, allocations: 205 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/1.073, allocations: 83.19 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.073, allocations: 4.625 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/1.074, allocations: 14.3 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/1.074, allocations: 2.469 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.074, allocations: 13.34 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.511e-05/1.074, allocations: 104.3 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.074, allocations: 0 / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002477/1.074, allocations: 20.7 kB / 1.328 GB, free: 20.49 MB / 1.061 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.0001023/1.074, allocations: 108.2 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002783/1.074, allocations: 66.78 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.074, allocations: 0 / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/1.074, allocations: 48.05 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/1.075, allocations: 26.28 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/1.075, allocations: 238.1 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.075, allocations: 0.6913 MB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/1.075, allocations: 11.94 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.075, allocations: 4.938 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of Templates: time 0.003312/1.079, allocations: 1.312 MB / 1.33 GB, free: 19.35 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] 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: 11.842821191996336]