Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 107 kB / 16.36 MB, free: 6.336 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.001245/0.001245, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.195/2.195, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.86 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002107/0.2523, allocations: 1.249 MB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.2532, allocations: 0.6166 MB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.2532, allocations: 4 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.2533, allocations: 3.938 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.2533, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2537, allocations: 135.4 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.2537, allocations: 11.94 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.2538, allocations: 3.984 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.2538, allocations: 11.98 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2539, allocations: 7.938 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-06/0.2539, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.2542, allocations: 231.6 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.2542, allocations: 0 / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.2542, allocations: 7.984 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2544, allocations: 127.7 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2544, allocations: 0 / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2544, allocations: 0 / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2545, allocations: 4 kB / 1.021 GB, free: 7.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003191/0.2548, allocations: 351.4 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2548, allocations: 16.88 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2549, allocations: 12.92 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.809e-05/0.255, allocations: 160.4 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.255, allocations: 384 / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.255, allocations: 4.375 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.2551, allocations: 42.19 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.2552, allocations: 192 / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2552, allocations: 3.938 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2552, allocations: 4 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.2552, allocations: 8 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.2554, allocations: 157.7 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2555, allocations: 42.55 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.2556, allocations: 20.94 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.2556, allocations: 3.984 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2556, allocations: 38.56 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2556, allocations: 0 / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0005703/0.2562, allocations: 310.2 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.2562, allocations: 51.41 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.053e-05/0.2563, allocations: 93.86 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2563, allocations: 25.7 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.2563, allocations: 80.14 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2563, allocations: 23.7 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.2564, allocations: 29.66 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.2565, allocations: 310.8 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.2565, allocations: 15.98 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.2565, allocations: 15.98 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.2566, allocations: 32.73 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2566, allocations: 0 / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.621e-05/0.2567, allocations: 65.69 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2567, allocations: 7.938 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2567, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2567, allocations: 4 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.2568, allocations: 15.98 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.2568, allocations: 0 / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.2568, allocations: 0 / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2568, allocations: 4 kB / 1.023 GB, free: 5.211 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.2569, allocations: 118.6 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.2569, allocations: 3.938 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.257, allocations: 73.95 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2571, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2571, allocations: 4.125 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2571, allocations: 0 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.191e-05/0.2572, allocations: 165.7 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2572, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.2572, allocations: 15.98 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2573, allocations: 3.938 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2573, allocations: 4 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2573, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2573, allocations: 3.938 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2574, allocations: 101 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.2574, allocations: 81.09 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2575, allocations: 3.938 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.2575, allocations: 4.031 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.2576, allocations: 8 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.2576, allocations: 0 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.2576, allocations: 75.28 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2576, allocations: 0 / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001716/0.2578, allocations: 12.06 kB / 1.024 GB, free: 4.441 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.938e-05/0.2579, allocations: 107.2 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.258, allocations: 35.92 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.258, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.258, allocations: 16 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2581, allocations: 8 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.2584, allocations: 122.1 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.2586, allocations: 0.6807 MB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.2586, allocations: 7.984 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.2587, allocations: 7.438 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.2587, allocations: 3.938 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of Templates: time 0.002289/0.261, allocations: 486.6 kB / 1.025 GB, free: 2.969 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches