Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001409/0.001409, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.866/2.866, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 59.91 kB / 0.8688 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7239, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002172/0.7261, allocations: 0.7419 MB / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.7282, allocations: 1.37 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.7282, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.7283, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.7284, allocations: 7.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.7289, allocations: 99.61 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.308e-05/0.729, allocations: 43.86 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.7291, allocations: 12 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.7292, allocations: 19.92 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.7293, allocations: 27.91 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.7293, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.7296, allocations: 155.7 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.7296, allocations: 7.938 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.7297, allocations: 15.92 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.7299, allocations: 129.8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7299, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7299, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.73, allocations: 0 / 1.019 GB, free: 256 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006884/0.7307, allocations: 383.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.7307, allocations: 8.031 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.7312, allocations: 36.83 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.7314, allocations: 172.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.7314, allocations: 8.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.7314, allocations: 384 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.7317, allocations: 82.19 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7317, allocations: 8.109 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.7317, allocations: 3.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7318, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.7321, allocations: 75.92 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.7328, allocations: 320.6 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.7331, allocations: 78.56 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.7333, allocations: 32.88 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.7333, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.7334, allocations: 30.56 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7334, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005764/0.734, allocations: 129.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.734, allocations: 55.41 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7341, allocations: 109.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.7342, allocations: 33.64 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.7342, allocations: 92.03 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.7343, allocations: 15.84 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.7343, allocations: 21.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7345, allocations: 314.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.7346, allocations: 31.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.7348, allocations: 31.97 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.7351, allocations: 76.86 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7351, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003426/0.7354, allocations: 105.5 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7355, allocations: 7.984 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7355, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7355, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.7357, allocations: 11.98 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.7357, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.7358, allocations: 7.984 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.7358, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001051/0.7359, allocations: 125.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.736, allocations: 11.89 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.736, allocations: 8.281 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.736, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.736, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.736, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.7363, allocations: 185.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7363, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.7364, allocations: 19.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7364, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7364, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7365, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7365, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.7369, allocations: 191.5 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.7369, allocations: 85.02 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.737, allocations: 4.234 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.7371, allocations: 11.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.7371, allocations: 3.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.7372, allocations: 11.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.836e-05/0.7373, allocations: 95.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7373, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002635/0.7375, allocations: 19.94 kB / 1.022 GB, free: 12.91 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 (4): * Single equations (assignments): 4 * 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.0002065/0.7377, allocations: 115.8 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.7381, allocations: 68 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7381, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.7383, allocations: 39.91 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.7386, allocations: 20.86 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.7392, allocations: 168.8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.7396, allocations: 0.6807 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.7397, allocations: 20.11 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.7397, allocations: 11.44 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7397, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.004194/0.744, allocations: 0.9731 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches