Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01214/0.01214, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.002453/0.002453, allocations: 201.7 kB / 16.68 MB, free: 5.445 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.121 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3063, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002636/0.3089, allocations: 1.661 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.3096, allocations: 398.8 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3097, allocations: 4 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3098, allocations: 11.86 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.3099, allocations: 19.78 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.3103, allocations: 116 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3105, allocations: 115.5 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3106, allocations: 35.98 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.3107, allocations: 39.86 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.3108, allocations: 51.77 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3108, allocations: 8 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3109, allocations: 67.88 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.311, allocations: 15.98 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.311, allocations: 43.73 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3113, allocations: 135.5 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3113, allocations: 3.938 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3113, allocations: 0 / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3113, allocations: 0 / 1.169 GB, free: 4.219 MB / 0.92 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.0006004/0.3119, allocations: 419 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.312, allocations: 8.031 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.3122, allocations: 32.81 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3124, allocations: 200.2 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.3125, allocations: 30.27 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3126, allocations: 8.375 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3128, allocations: 108.1 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3129, allocations: 7.922 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3129, allocations: 4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3129, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.3131, allocations: 79.94 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.3139, allocations: 388.4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3144, allocations: 130.6 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3146, allocations: 44.83 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3146, allocations: 4 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3146, allocations: 38.5 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3146, allocations: 0 / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004397/0.3151, allocations: 133.7 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3151, allocations: 55.34 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3153, allocations: 145.8 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3153, allocations: 29.7 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.3154, allocations: 100 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3154, allocations: 27.78 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3154, allocations: 17.72 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3156, allocations: 322.8 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3157, allocations: 23.98 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3158, allocations: 53.98 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.316, allocations: 73.67 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.316, allocations: 0 / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002694/0.3163, allocations: 117.5 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3163, allocations: 10.53 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3163, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3163, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3164, allocations: 23.92 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3165, allocations: 3.938 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.3165, allocations: 11.98 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3166, allocations: 4 kB / 1.172 GB, free: 1.379 MB / 0.92 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 8.117e-05/0.3166, allocations: 113.8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3167, allocations: 11.95 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.3167, allocations: 16.66 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3167, allocations: 7.938 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3167, allocations: 3.984 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3167, allocations: 0 / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.317, allocations: 197.6 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.317, allocations: 4 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3171, allocations: 15.98 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3171, allocations: 0 / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3171, allocations: 0 / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3171, allocations: 7.938 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3171, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3174, allocations: 207.3 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3175, allocations: 89 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3175, allocations: 4 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3177, allocations: 15.92 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3177, allocations: 7.984 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3177, allocations: 4 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.3178, allocations: 103.3 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3178, allocations: 0 / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002549/0.3181, allocations: 20 kB / 1.173 GB, free: 484 kB / 0.92 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.0001189/0.3182, allocations: 103.2 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3185, allocations: 79.88 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3185, allocations: 0 / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3186, allocations: 39.97 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3189, allocations: 20.61 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.3195, allocations: 218.9 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3197, allocations: 0.6885 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.708e-05/0.3198, allocations: 20.64 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.3199, allocations: 11.44 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3199, allocations: 3.938 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.004191/0.3241, allocations: 1.452 MB / 1.175 GB, free: 13.8 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches