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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9798/0.9798, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.102/2.102, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.531e-05, allocations: 5.656 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001386/0.001411, allocations: 0.632 MB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.001723, allocations: 147.1 kB / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.001753, allocations: 0 / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.00177, allocations: 4.688 kB / 0.8802 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.00179, allocations: 0 / 0.8802 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.002055, allocations: 40.94 kB / 0.8802 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.00211, allocations: 18.17 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.002153, allocations: 3.984 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.002191, allocations: 12.69 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.002258, allocations: 7.984 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.002271, allocations: 1.344 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.002343, allocations: 31.95 kB / 0.8803 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.002359, allocations: 4 kB / 0.8803 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.002373, allocations: 5.031 kB / 0.8803 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002474, allocations: 47.8 kB / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002476, allocations: 0 / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002477, allocations: 1.094 kB / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.002482, allocations: 0 / 0.8804 GB, free: 5.039 MB / 0.8386 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.0003055/0.002788, allocations: 364.5 kB / 0.8807 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.002822, allocations: 9.094 kB / 0.8807 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.002852, allocations: 4.938 kB / 0.8807 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.002937, allocations: 105.8 kB / 0.8808 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.002948, allocations: 384 / 0.8808 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.002967, allocations: 8.359 kB / 0.8808 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.003044, allocations: 68.73 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.003052, allocations: 192 / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003058, allocations: 384 / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003063, allocations: 2.031 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.003088, allocations: 23.84 kB / 0.8809 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.003192, allocations: 97.27 kB / 0.881 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.003265, allocations: 47.59 kB / 0.8811 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.003282, allocations: 15.69 kB / 0.8811 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.003334, allocations: 5.625 kB / 0.8811 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.003355, allocations: 37.52 kB / 0.8811 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.003356, allocations: 0 / 0.8811 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007738/0.00413, allocations: 413.3 kB / 0.8815 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.004159, allocations: 55.41 kB / 0.8816 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.004223, allocations: 161.9 kB / 0.8817 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004232, allocations: 25.7 kB / 0.8817 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.004262, allocations: 126.9 kB / 0.8819 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.00429, allocations: 27.73 kB / 0.8819 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.004319, allocations: 27.36 kB / 0.8819 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.004428, allocations: 497.7 kB / 0.8824 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.004444, allocations: 7.984 kB / 0.8824 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.004454, allocations: 4 kB / 0.8824 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.004494, allocations: 39.59 kB / 0.8824 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.004494, allocations: 0.625 kB / 0.8824 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.911e-05/0.004564, allocations: 61.69 kB / 0.8825 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004574, allocations: 4.906 kB / 0.8825 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004578, allocations: 0 / 0.8825 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.004587, allocations: 0.625 kB / 0.8825 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.004642, allocations: 15.94 kB / 0.8825 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.004646, allocations: 8.109 kB / 0.8825 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.00466, allocations: 7.938 kB / 0.8825 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.004664, allocations: 3.938 kB / 0.8825 GB, free: 2.566 MB / 0.8386 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.907e-05/0.004734, allocations: 156.6 kB / 0.8827 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.004743, allocations: 4 kB / 0.8827 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.004853, allocations: 77.89 kB / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.004855, allocations: 0 / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.004857, allocations: 0 / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.004863, allocations: 7.938 kB / 0.8828 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.005e-05/0.004943, allocations: 105.2 kB / 0.8829 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.004945, allocations: 192 / 0.8829 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.004998, allocations: 23.94 kB / 0.8829 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005, allocations: 0 / 0.8829 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.005006, allocations: 0 / 0.8829 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.005009, allocations: 4 kB / 0.8829 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00501, allocations: 0 / 0.8829 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.005129, allocations: 116.4 kB / 0.883 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.005137, allocations: 11.94 kB / 0.883 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005146, allocations: 4 kB / 0.883 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.005165, allocations: 0 / 0.883 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.005177, allocations: 8.031 kB / 0.883 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.005184, allocations: 7.984 kB / 0.883 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.005216, allocations: 123.1 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005216, allocations: 0 / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001525/0.005368, allocations: 27.94 kB / 0.8832 GB, free: 1.84 MB / 0.8386 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.0001597/0.005528, allocations: 135.2 kB / 0.8833 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.005607, allocations: 35.61 kB / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005609, allocations: 0 / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.005632, allocations: 35.69 kB / 0.8834 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.005739, allocations: 9.125 kB / 0.8834 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.005964, allocations: 134.2 kB / 0.8835 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.005994, allocations: 55.36 kB / 0.8836 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.006023, allocations: 11.92 kB / 0.8836 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.006069, allocations: 74.2 kB / 0.8837 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.006069, allocations: 0 / 0.8837 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of Templates: time 0.002695/0.008764, allocations: 1.024 MB / 0.8847 GB, free: 288 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.399079165887088]