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.0008115/0.0008115, allocations: 92.22 kB / 19.65 MB, free: 276 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.001482/0.001482, allocations: 173 kB / 23.03 MB, free: 1.543 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.9256/0.9256, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.119/2.119, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.533e-06/1.533e-06, allocations: 0 / 0.8782 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.991e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001496/0.001516, allocations: 0.6221 MB / 0.8788 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004191/0.001935, allocations: 150.1 kB / 0.879 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.001965, allocations: 0.9688 kB / 0.879 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.001988, allocations: 0 / 0.879 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/0.002014, allocations: 5.344 kB / 0.879 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.002376, allocations: 40.42 kB / 0.879 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.002446, allocations: 17.08 kB / 0.879 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.00249, allocations: 1.094 kB / 0.879 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.002537, allocations: 9.094 kB / 0.8791 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.002615, allocations: 12.41 kB / 0.8791 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.002633, allocations: 5.25 kB / 0.8791 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.002723, allocations: 27.97 kB / 0.8791 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.002742, allocations: 8 kB / 0.8791 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.002763, allocations: 3.984 kB / 0.8791 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.002907, allocations: 40.88 kB / 0.8791 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.002909, allocations: 0 / 0.8791 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00291, allocations: 0 / 0.8791 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.002915, allocations: 3.406 kB / 0.8792 GB, free: 5.23 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.0004321/0.003347, allocations: 360.6 kB / 0.8795 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.003394, allocations: 8.031 kB / 0.8795 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.003443, allocations: 4.938 kB / 0.8795 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.003556, allocations: 112.5 kB / 0.8796 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.003572, allocations: 4.375 kB / 0.8796 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.003602, allocations: 4.375 kB / 0.8796 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003737, allocations: 67.95 kB / 0.8797 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.003747, allocations: 0.7812 kB / 0.8797 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.00376, allocations: 8.297 kB / 0.8797 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.003771, allocations: 1.906 kB / 0.8797 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.003839, allocations: 11.94 kB / 0.8797 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.003986, allocations: 120.6 kB / 0.8798 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.00408, allocations: 55.05 kB / 0.8799 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.004108, allocations: 19.81 kB / 0.8799 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.004178, allocations: 7.984 kB / 0.8799 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.0042, allocations: 37.39 kB / 0.8799 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.004202, allocations: 0 / 0.8799 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0008944/0.005096, allocations: 414.2 kB / 0.8803 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.005123, allocations: 55.34 kB / 0.8804 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.005183, allocations: 153.9 kB / 0.8805 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005193, allocations: 25.7 kB / 0.8806 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.005223, allocations: 131 kB / 0.8807 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.005253, allocations: 31.73 kB / 0.8807 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.005282, allocations: 23.38 kB / 0.8807 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005389, allocations: 0.4923 MB / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.005406, allocations: 4 kB / 0.8812 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.005421, allocations: 11.98 kB / 0.8812 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.005469, allocations: 31.69 kB / 0.8813 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.00547, allocations: 0 / 0.8813 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.329e-05/0.005543, allocations: 69.84 kB / 0.8813 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005556, allocations: 10.5 kB / 0.8813 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.00556, allocations: 0 / 0.8813 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.00557, allocations: 4 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.005629, allocations: 16.42 kB / 0.8814 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.005635, allocations: 8 kB / 0.8814 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.005648, allocations: 0 / 0.8814 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005653, allocations: 4 kB / 0.8814 GB, free: 2.695 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 5.475e-05/0.005708, allocations: 156.6 kB / 0.8815 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.005718, allocations: 11.95 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.005825, allocations: 77.58 kB / 0.8816 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.00583, allocations: 7.984 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.005834, allocations: 7.938 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005837, allocations: 3.938 kB / 0.8816 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.535e-05/0.005902, allocations: 116.6 kB / 0.8817 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005903, allocations: 0 / 0.8817 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.005948, allocations: 19.98 kB / 0.8818 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.00595, allocations: 0 / 0.8818 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.005956, allocations: 4 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005957, allocations: 0 / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005958, allocations: 0 / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.006074, allocations: 120.3 kB / 0.8819 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006082, allocations: 11.94 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.006091, allocations: 8.031 kB / 0.8819 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.00611, allocations: 0 / 0.8819 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.006127, allocations: 7.984 kB / 0.8819 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.006133, allocations: 7.938 kB / 0.8819 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.006164, allocations: 123.2 kB / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006164, allocations: 0 / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001408/0.006305, allocations: 31.92 kB / 0.8821 GB, free: 1.922 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.0001382/0.006444, allocations: 127.2 kB / 0.8822 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.006537, allocations: 51.69 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006539, allocations: 0 / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.006561, allocations: 23.67 kB / 0.8822 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.006667, allocations: 9.875 kB / 0.8823 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.006908, allocations: 138.2 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.006938, allocations: 63.28 kB / 0.8824 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.006963, allocations: 4 kB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.006989, allocations: 16.5 kB / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/0.006989, allocations: 0 / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.002478/0.009468, allocations: 0.975 MB / 0.8834 GB, free: 484 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.153453306760639]