Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001187/0.001187, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.198/2.198, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.28 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001529/0.2532, allocations: 0.6054 MB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.2536, allocations: 169.9 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.2536, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.2536, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.71e-05/0.2536, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2539, allocations: 35.89 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.254, allocations: 19.92 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.254, allocations: 4 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.254, allocations: 11.92 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.2541, allocations: 7.984 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2541, allocations: 0 / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.2542, allocations: 35.97 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2542, allocations: 7.938 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.2542, allocations: 11.97 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.481e-05/0.2543, allocations: 31.91 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2543, allocations: 0 / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2543, allocations: 0 / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2543, allocations: 0 / 1.028 GB, free: 1.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003189/0.2547, allocations: 323.6 kB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2547, allocations: 15.97 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.2547, allocations: 0.9375 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.2548, allocations: 168.4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2549, allocations: 8.375 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2549, allocations: 384 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.255, allocations: 42.25 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.255, allocations: 4.125 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.255, allocations: 3.938 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.255, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.2551, allocations: 15.98 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.2552, allocations: 169.5 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.562e-05/0.2553, allocations: 42.62 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.2553, allocations: 16.98 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.438e-05/0.2554, allocations: 89.08 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.2555, allocations: 38.5 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2555, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001078/0.2565, allocations: 484 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2566, allocations: 59.34 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.2566, allocations: 93.86 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2567, allocations: 25.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.2567, allocations: 80.14 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.2567, allocations: 27.64 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.2568, allocations: 17.72 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.2569, allocations: 323 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.2569, allocations: 8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.2569, allocations: 19.97 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.257, allocations: 41.03 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.257, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.491e-05/0.2571, allocations: 65.67 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2571, allocations: 7.938 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2571, allocations: 4 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2571, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.2572, allocations: 15.98 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2572, allocations: 4.438 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.2572, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2573, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 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 (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 6.012e-05/0.2573, allocations: 117.8 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.2573, allocations: 7.844 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.2575, allocations: 81.64 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2575, allocations: 3.984 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2575, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2575, allocations: 4 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2576, allocations: 165.7 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2576, allocations: 4 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.2577, allocations: 15.92 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2577, allocations: 7.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2577, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2577, allocations: 3.938 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2577, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.2579, allocations: 113.1 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2579, allocations: 88.98 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.258, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.258, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.258, allocations: 15.92 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.258, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.2581, allocations: 75.28 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2581, allocations: 0 / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001971/0.2583, allocations: 28 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001722/0.2585, allocations: 139.3 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.2586, allocations: 39.98 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2586, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.2586, allocations: 23.92 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.2587, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.259, allocations: 148.4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.2592, allocations: 0.6846 MB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.2592, allocations: 7.938 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.2593, allocations: 11.44 kB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.2593, allocations: 0 / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of Templates: time 0.002536/0.2618, allocations: 0.8696 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches