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.000987/0.000987, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009639/0.0009639, allocations: 173 kB / 23.49 MB, free: 1.059 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.9091/0.9091, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.055/2.055, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.652e-05, allocations: 2.906 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009772/0.0009937, allocations: 0.6237 MB / 0.8789 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.001276, allocations: 154.6 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.001299, allocations: 1.094 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.001313, allocations: 3.719 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.699e-05/0.00133, allocations: 0 / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.001593, allocations: 35.83 kB / 0.879 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.001643, allocations: 17.19 kB / 0.8791 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.00168, allocations: 4 kB / 0.8791 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.00171, allocations: 19.86 kB / 0.8791 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.00177, allocations: 3.984 kB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.001787, allocations: 4 kB / 0.8791 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.001849, allocations: 27.97 kB / 0.8791 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.001865, allocations: 9.578 kB / 0.8791 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.00188, allocations: 3.984 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.635e-05/0.001976, allocations: 39.83 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001978, allocations: 0 / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.72e-07/0.001979, allocations: 0 / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.001983, allocations: 1.031 kB / 0.8792 GB, free: 5.652 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.0002855/0.002268, allocations: 360.6 kB / 0.8795 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.002302, allocations: 9.125 kB / 0.8795 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.002337, allocations: 4.938 kB / 0.8795 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.019e-05/0.002407, allocations: 112.6 kB / 0.8796 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.002417, allocations: 5.438 kB / 0.8796 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.002438, allocations: 4.375 kB / 0.8796 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.002527, allocations: 73 kB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.002532, allocations: 192 / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.002541, allocations: 384 / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.002547, allocations: 7 kB / 0.8797 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.002577, allocations: 11.92 kB / 0.8797 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.00269, allocations: 116.6 kB / 0.8798 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.00283, allocations: 47.11 kB / 0.8799 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.00286, allocations: 15.81 kB / 0.8799 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.002923, allocations: 11.92 kB / 0.8799 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.002942, allocations: 37.39 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.002943, allocations: 1.906 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0008198/0.003763, allocations: 414 kB / 0.8803 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.00379, allocations: 59.34 kB / 0.8804 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.003849, allocations: 150.9 kB / 0.8805 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.003858, allocations: 31.28 kB / 0.8806 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.003887, allocations: 130.9 kB / 0.8807 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.003912, allocations: 23.75 kB / 0.8807 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.003941, allocations: 31.31 kB / 0.8808 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.004036, allocations: 0.4884 MB / 0.8812 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.004052, allocations: 12.12 kB / 0.8812 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.004067, allocations: 12.05 kB / 0.8813 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.004111, allocations: 35.67 kB / 0.8813 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.004112, allocations: 0 / 0.8813 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.719e-05/0.004179, allocations: 69.62 kB / 0.8814 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.004189, allocations: 4 kB / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004193, allocations: 0 / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.004204, allocations: 0 / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.004258, allocations: 19.92 kB / 0.8814 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.004264, allocations: 3.938 kB / 0.8814 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.004276, allocations: 4 kB / 0.8814 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.004282, allocations: 8 kB / 0.8814 GB, free: 3.121 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.178e-05/0.004334, allocations: 152.6 kB / 0.8815 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.004342, allocations: 7.953 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.004449, allocations: 81.62 kB / 0.8816 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.00445, allocations: 0 / 0.8816 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004454, allocations: 7.875 kB / 0.8816 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.004457, allocations: 0 / 0.8816 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.774e-05/0.004525, allocations: 124.6 kB / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004526, allocations: 0 / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.004572, allocations: 19.98 kB / 0.8818 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004573, allocations: 0 / 0.8818 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.00458, allocations: 192 / 0.8818 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.004582, allocations: 4 kB / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.004583, allocations: 0 / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.0047, allocations: 120.3 kB / 0.8819 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.004712, allocations: 11.95 kB / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.004721, allocations: 0 / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.00474, allocations: 0 / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.004761, allocations: 11.98 kB / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.004767, allocations: 7.938 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.004793, allocations: 123.2 kB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004793, allocations: 0 / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001399/0.004933, allocations: 31.92 kB / 0.8821 GB, free: 2.359 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.0001291/0.005062, allocations: 135.2 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.005142, allocations: 39.61 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005143, allocations: 0 / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.005166, allocations: 28.22 kB / 0.8823 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.005266, allocations: 7.938 kB / 0.8823 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.005493, allocations: 146.4 kB / 0.8824 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.00552, allocations: 59.3 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.005545, allocations: 7.984 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.005566, allocations: 16.48 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.005566, allocations: 0 / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of Templates: time 0.002181/0.007747, allocations: 0.9048 MB / 0.8834 GB, free: 0.9766 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.261342980898917]