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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.006393/0.006393, allocations: 105.5 kB / 15.78 MB, free: 5.977 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.001415/0.001415, allocations: 199.8 kB / 16.73 MB, free: 5.852 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.463/1.463, allocations: 225.6 MB / 243.1 MB, free: 3.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 489.4 MB / 0.7669 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 68.09 kB / 1.115 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9048, allocations: 172 MB / 1.283 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002879/0.9077, allocations: 1.678 MB / 1.284 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.9084, allocations: 394.7 kB / 1.285 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.9085, allocations: 2 kB / 1.285 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.9086, allocations: 10.69 kB / 1.285 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.9087, allocations: 26.06 kB / 1.285 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.9091, allocations: 124.5 kB / 1.285 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.9093, allocations: 106.8 kB / 1.285 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.9094, allocations: 30.56 kB / 1.285 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.9095, allocations: 39.23 kB / 1.285 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.9096, allocations: 44.8 kB / 1.285 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.9096, allocations: 11.97 kB / 1.285 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.9097, allocations: 61.62 kB / 1.285 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.9098, allocations: 28.44 kB / 1.285 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.9098, allocations: 42.47 kB / 1.285 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.9101, allocations: 133.8 kB / 1.285 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9101, allocations: 1.344 kB / 1.285 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9101, allocations: 0 / 1.285 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9101, allocations: 0 / 1.285 GB, free: 3.613 MB / 0.9981 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.0006469/0.9107, allocations: 420.8 kB / 1.286 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9108, allocations: 9.938 kB / 1.286 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.911, allocations: 32.64 kB / 1.286 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.9112, allocations: 196.9 kB / 1.286 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.9113, allocations: 31.16 kB / 1.286 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.9113, allocations: 9.469 kB / 1.286 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.9116, allocations: 106 kB / 1.286 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9116, allocations: 3.938 kB / 1.286 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.9116, allocations: 5.516 kB / 1.286 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9116, allocations: 1.25 kB / 1.286 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.9119, allocations: 84.86 kB / 1.286 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.9126, allocations: 390.1 kB / 1.287 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.9132, allocations: 120.9 kB / 1.287 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.9133, allocations: 42.11 kB / 1.287 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.9133, allocations: 5.375 kB / 1.287 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9133, allocations: 36.86 kB / 1.287 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.9133, allocations: 0 / 1.287 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004609/0.9138, allocations: 137.8 kB / 1.287 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.9139, allocations: 52.72 kB / 1.287 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.914, allocations: 143.3 kB / 1.287 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.914, allocations: 30.92 kB / 1.287 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.9141, allocations: 98.19 kB / 1.287 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.9141, allocations: 28.94 kB / 1.287 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.9142, allocations: 23.98 kB / 1.287 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9143, allocations: 319.9 kB / 1.288 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.9144, allocations: 27.09 kB / 1.288 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.9145, allocations: 47.42 kB / 1.288 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.9148, allocations: 74.75 kB / 1.288 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9148, allocations: 3.938 kB / 1.288 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002768/0.915, allocations: 109.1 kB / 1.288 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.915, allocations: 4.594 kB / 1.288 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9151, allocations: 5.531 kB / 1.288 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.9151, allocations: 1.156 kB / 1.288 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.9152, allocations: 25.23 kB / 1.288 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9152, allocations: 1.219 kB / 1.288 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.9153, allocations: 16.23 kB / 1.288 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.9153, allocations: 6.109 kB / 1.288 GB, free: 1.547 MB / 0.9981 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.0001003/0.9154, allocations: 115.1 kB / 1.288 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.9154, allocations: 7.359 kB / 1.288 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.9155, allocations: 16.56 kB / 1.288 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9155, allocations: 5.031 kB / 1.288 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9155, allocations: 0.7969 kB / 1.288 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9155, allocations: 1.219 kB / 1.288 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.9158, allocations: 207.1 kB / 1.288 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9158, allocations: 3.938 kB / 1.288 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.9159, allocations: 15.08 kB / 1.288 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9159, allocations: 1.844 kB / 1.288 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9159, allocations: 0 / 1.288 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.9159, allocations: 5.125 kB / 1.288 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.9159, allocations: 4.562 kB / 1.288 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.9162, allocations: 200.9 kB / 1.288 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.9163, allocations: 85.16 kB / 1.288 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.9163, allocations: 1.156 kB / 1.288 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.9164, allocations: 18.36 kB / 1.289 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.9165, allocations: 9.422 kB / 1.289 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.9165, allocations: 2.422 kB / 1.289 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.351e-05/0.9166, allocations: 105.3 kB / 1.289 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9166, allocations: 0 / 1.289 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002418/0.9168, allocations: 21.19 kB / 1.289 GB, free: 0.8281 MB / 0.9981 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.0001192/0.9169, allocations: 98.14 kB / 1.289 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.9172, allocations: 73.19 kB / 1.289 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9172, allocations: 5.062 kB / 1.289 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.9173, allocations: 38.83 kB / 1.289 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.9177, allocations: 29.64 kB / 1.289 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.9181, allocations: 221.6 kB / 1.289 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.9185, allocations: 0.693 MB / 1.29 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.9185, allocations: 16.44 kB / 1.29 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.9186, allocations: 12.19 kB / 1.29 GB, free: 15.82 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.9186, allocations: 0 / 1.29 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Templates: time 0.004447/0.923, allocations: 1.456 MB / 1.291 GB, free: 15.69 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches