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.002018/0.002018, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.001894/0.001894, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.41/2.41, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 60.38 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3134, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003643/0.3171, allocations: 1.663 MB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.3179, allocations: 406.7 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3181, allocations: 0 / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.3183, allocations: 11.86 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.3183, allocations: 27.72 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.3189, allocations: 124.6 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3191, allocations: 107.6 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3192, allocations: 43.95 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.3193, allocations: 39.91 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.3194, allocations: 43.78 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3194, allocations: 12 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3196, allocations: 59.95 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.3196, allocations: 19.91 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.3197, allocations: 47.78 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.32, allocations: 127.9 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.32, allocations: 0 / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.315e-06/0.32, allocations: 0 / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.32, allocations: 0 / 1.021 GB, free: 7.934 MB / 0.795 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.0006672/0.3207, allocations: 427 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3207, allocations: 12.03 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.321, allocations: 24.83 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3212, allocations: 196.1 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.3213, allocations: 34.25 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.3213, allocations: 8.375 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3216, allocations: 102.1 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3216, allocations: 11.94 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3216, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.3219, allocations: 79.94 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.3226, allocations: 388.4 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.3232, allocations: 126.5 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3233, allocations: 44.88 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3233, allocations: 4 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3234, allocations: 30.56 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004304/0.3238, allocations: 133.7 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3238, allocations: 55.34 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.324, allocations: 144.3 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.324, allocations: 33.64 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3241, allocations: 100 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3241, allocations: 23.66 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3242, allocations: 21.7 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3243, allocations: 322.8 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3244, allocations: 27.97 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3245, allocations: 62.12 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3247, allocations: 65.69 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3247, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000272/0.325, allocations: 117.5 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.325, allocations: 8.031 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.325, allocations: 3.984 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3251, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3252, allocations: 19.92 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3252, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.3253, allocations: 19.84 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3253, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 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 9.333e-05/0.3254, allocations: 117.8 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3254, allocations: 11.89 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.3255, allocations: 20.72 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3255, allocations: 3.938 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3255, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3255, allocations: 3.984 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.3257, allocations: 201.6 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3257, allocations: 0 / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3258, allocations: 15.98 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3258, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3259, allocations: 3.938 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3259, allocations: 4 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3262, allocations: 199.4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.3262, allocations: 85.02 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3263, allocations: 7.984 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3264, allocations: 19.86 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3265, allocations: 8 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3265, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.3266, allocations: 107.2 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3266, allocations: 0 / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002472/0.3268, allocations: 20 kB / 1.024 GB, free: 4.188 MB / 0.795 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.0001195/0.3269, allocations: 99.25 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3272, allocations: 79.89 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3272, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3274, allocations: 43.91 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3278, allocations: 28.84 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.3283, allocations: 244.7 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3286, allocations: 0.6924 MB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3286, allocations: 15.44 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3286, allocations: 4 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of Templates: time 0.002926/0.3316, allocations: 1.308 MB / 1.026 GB, free: 1.625 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches