Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 183.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5776 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009572/0.0009569, allocations: 97.25 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003989, allocations: 9.938 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 106.4 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.4163, allocations: 132.4 MB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4166, allocations: 83.95 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006257/0.4228, allocations: 2.35 MB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4229, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4229, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003116/0.4232, allocations: 339.2 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4233, allocations: 12.03 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.4234, allocations: 3.984 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.4235, allocations: 171 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4235, allocations: 8 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4235, allocations: 0 / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4236, allocations: 41.69 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4237, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4237, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4237, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.4237, allocations: 19.92 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.4239, allocations: 157.7 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.4241, allocations: 46.55 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4241, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4241, allocations: 30.56 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4241, allocations: 0 / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0006574/0.4248, allocations: 306.3 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.4248, allocations: 59.41 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.278e-05/0.4249, allocations: 88.94 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4249, allocations: 25.7 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.4249, allocations: 80.14 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.425, allocations: 23.66 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.425, allocations: 0 / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4251, allocations: 318.8 kB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.4251, allocations: 8 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.4251, allocations: 8 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.4252, allocations: 23.98 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4252, allocations: 3.953 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.343e-05/0.4253, allocations: 57.84 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4253, allocations: 7.984 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4253, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4253, allocations: 4 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.4254, allocations: 11.94 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4254, allocations: 4.062 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.4255, allocations: 0 / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4255, allocations: 8 kB / 1.034 GB, free: 6.785 MB / 0.6823 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.4256, allocations: 116 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.4256, allocations: 7.953 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.4257, allocations: 73.95 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4257, allocations: 3.938 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4257, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4258, allocations: 4 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.4259, allocations: 153.7 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4259, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.4259, allocations: 15.94 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.426, allocations: 8 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.426, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.426, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.426, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.4261, allocations: 102.9 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.4262, allocations: 85.11 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4262, allocations: 3.953 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.4263, allocations: 4.094 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.4263, allocations: 11.94 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4263, allocations: 3.984 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.4264, allocations: 75.28 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4264, allocations: 0 / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001961/0.4266, allocations: 16 kB / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.4267, allocations: 103.2 kB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.4268, allocations: 31.98 kB / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4268, allocations: 7.938 kB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.4269, allocations: 15.94 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.427, allocations: 4 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.4273, allocations: 140.4 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.4276, allocations: 0.6809 MB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.876e-05/0.4276, allocations: 7.984 kB / 1.035 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.4276, allocations: 11.44 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.4277, allocations: 0 / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of Templates: time 0.002309/0.43, allocations: 440.8 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches