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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001669/0.00167, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.577/2.577, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7127, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003307/0.716, allocations: 1.725 MB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.7169, allocations: 406.8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.717, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.7171, allocations: 7.922 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.7172, allocations: 23.8 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.7177, allocations: 107.7 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.7179, allocations: 103.6 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.718, allocations: 39.97 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.7181, allocations: 43.83 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.7182, allocations: 35.84 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.7183, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.7184, allocations: 55.95 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.7185, allocations: 19.92 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.7185, allocations: 43.78 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.7188, allocations: 133.6 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7188, allocations: 0 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7188, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7188, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 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.0007104/0.7195, allocations: 412.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7196, allocations: 15.95 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.7199, allocations: 24.83 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.7202, allocations: 196.1 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.7203, allocations: 42.27 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.7203, allocations: 8.375 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.7206, allocations: 106.1 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7206, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.7206, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7207, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.7209, allocations: 75.94 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.7218, allocations: 392.3 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.7223, allocations: 130.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.7225, allocations: 44.88 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.7225, allocations: 160 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.7225, allocations: 34.56 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.7226, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004527/0.723, allocations: 137.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7231, allocations: 59.34 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.7232, allocations: 139.6 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.7232, allocations: 29.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.7233, allocations: 99.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.7233, allocations: 23.64 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.7234, allocations: 21.72 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7235, allocations: 322.8 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.7237, allocations: 27.97 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.7238, allocations: 45.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.724, allocations: 74.14 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.724, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000272/0.7243, allocations: 117.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7243, allocations: 8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7243, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7244, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7245, allocations: 19.92 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.7245, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.7246, allocations: 19.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.7246, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 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.53e-05/0.7247, allocations: 110.4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.7247, allocations: 11.91 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.7248, allocations: 16.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7248, allocations: 3.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7248, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7248, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.725, allocations: 193.6 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.725, allocations: 11.92 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.7252, allocations: 12 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7252, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7252, allocations: 7.984 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7252, allocations: 3.938 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7252, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.7255, allocations: 207.3 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.7255, allocations: 84.95 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.7256, allocations: 11.98 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.7257, allocations: 11.92 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.7258, allocations: 11.98 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.7258, allocations: 4 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.7259, allocations: 108.3 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7259, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002446/0.7261, allocations: 20 kB / 1.023 GB, free: 12.34 MB / 0.7794 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.0001273/0.7263, allocations: 99.25 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.7266, allocations: 75.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7266, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7267, allocations: 35.97 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.7272, allocations: 27.77 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.7277, allocations: 240.4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.728, allocations: 0.6965 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.556e-05/0.7281, allocations: 16.66 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.7282, allocations: 11.44 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7282, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.004013/0.7322, allocations: 1.321 MB / 1.025 GB, free: 9.777 MB / 0.7794 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