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.001088/0.001088, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001169/0.001169, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 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.9646/0.9646, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.117/2.117, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.643e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001253/0.001279, allocations: 0.6299 MB / 0.8788 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.001606, allocations: 150.1 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.001633, allocations: 0 / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.001653, allocations: 4.812 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.886e-05/0.001672, allocations: 0 / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.001967, allocations: 43.81 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.002017, allocations: 9.422 kB / 0.879 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.002056, allocations: 4 kB / 0.879 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.002088, allocations: 12.64 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.002151, allocations: 5.578 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.002167, allocations: 4.766 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.002241, allocations: 32.98 kB / 0.8791 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.002255, allocations: 4.547 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002273, allocations: 4.859 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.002378, allocations: 44.89 kB / 0.8791 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00238, allocations: 0 / 0.8791 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/0.002381, allocations: 0 / 0.8791 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002386, allocations: 1.125 kB / 0.8791 GB, free: 5.32 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.0004145/0.0028, allocations: 360.6 kB / 0.8795 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.002836, allocations: 8.031 kB / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.002876, allocations: 9.891 kB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.002958, allocations: 116.6 kB / 0.8796 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.00297, allocations: 1.031 kB / 0.8796 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.002996, allocations: 384 / 0.8796 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.003097, allocations: 68.64 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.003104, allocations: 192 / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.003113, allocations: 1.656 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.003122, allocations: 4.375 kB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.003154, allocations: 15.86 kB / 0.8797 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.003288, allocations: 121.4 kB / 0.8798 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.003374, allocations: 51.11 kB / 0.8799 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.0034, allocations: 16.23 kB / 0.8799 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.003473, allocations: 5.094 kB / 0.8799 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.003496, allocations: 41.52 kB / 0.8799 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.003497, allocations: 0 / 0.8799 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0009044/0.004401, allocations: 416.2 kB / 0.8803 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.00443, allocations: 59.34 kB / 0.8804 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.004492, allocations: 149.9 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004504, allocations: 29.7 kB / 0.8806 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.004535, allocations: 127.6 kB / 0.8807 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.004561, allocations: 23.75 kB / 0.8807 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.004596, allocations: 35.95 kB / 0.8807 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.004709, allocations: 492.7 kB / 0.8812 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.00473, allocations: 11.98 kB / 0.8812 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.004746, allocations: 13.06 kB / 0.8812 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.004796, allocations: 39.59 kB / 0.8813 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.004797, allocations: 0 / 0.8813 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.101e-05/0.004878, allocations: 67.89 kB / 0.8813 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.004891, allocations: 4 kB / 0.8813 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004895, allocations: 0 / 0.8813 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.004912, allocations: 0 / 0.8813 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.004977, allocations: 20.12 kB / 0.8814 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.004985, allocations: 8 kB / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.004998, allocations: 4 kB / 0.8814 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005005, allocations: 11.92 kB / 0.8814 GB, free: 2.785 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.052e-05/0.005065, allocations: 152.6 kB / 0.8815 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.005076, allocations: 11.95 kB / 0.8815 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.005198, allocations: 73.64 kB / 0.8816 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0052, allocations: 0 / 0.8816 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.005205, allocations: 3.938 kB / 0.8816 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.005208, allocations: 4 kB / 0.8816 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.005286, allocations: 128.6 kB / 0.8817 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.005288, allocations: 0 / 0.8817 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.005347, allocations: 15.94 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.005349, allocations: 0 / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.005357, allocations: 0 / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005358, allocations: 0 / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.00536, allocations: 0 / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.005492, allocations: 116.4 kB / 0.8819 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.005502, allocations: 15.94 kB / 0.8819 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005513, allocations: 0 / 0.8819 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.005534, allocations: 8.031 kB / 0.8819 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.00555, allocations: 4 kB / 0.8819 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.005558, allocations: 7.922 kB / 0.8819 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.005587, allocations: 127.1 kB / 0.882 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005587, allocations: 0 / 0.882 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001578/0.005745, allocations: 31.94 kB / 0.882 GB, free: 2.027 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.0001532/0.005898, allocations: 131.2 kB / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.00599, allocations: 39.61 kB / 0.8822 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005992, allocations: 96 / 0.8822 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.006018, allocations: 39.61 kB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.006129, allocations: 2.062 kB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.006396, allocations: 138.2 kB / 0.8824 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.00643, allocations: 59.3 kB / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.006458, allocations: 7.984 kB / 0.8824 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.006481, allocations: 12.5 kB / 0.8825 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.006481, allocations: 4 kB / 0.8825 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of Templates: time 0.002655/0.009136, allocations: 0.9016 MB / 0.8833 GB, free: 0.6523 MB / 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.437486560083926]