Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001444/0.001444, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002074/0.002074, allocations: 169.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.609e-05, allocations: 10.22 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001516/0.001542, allocations: 0.5975 MB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.001926, allocations: 151.4 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.001946, allocations: 0 / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.427e-06/0.001955, allocations: 0 / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.681e-05/0.001972, allocations: 4 kB / 0.9822 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.002226, allocations: 43.77 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.002273, allocations: 15.98 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.002305, allocations: 3.984 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.002331, allocations: 4 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.002392, allocations: 15.92 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.002405, allocations: 0 / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.002484, allocations: 31.95 kB / 0.9823 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.002496, allocations: 0 / 0.9823 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.002511, allocations: 8 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002617, allocations: 51.8 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002618, allocations: 0 / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002619, allocations: 0 / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.002621, allocations: 0 / 0.9824 GB, free: 10.95 MB / 0.9356 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.0003175/0.002939, allocations: 254.4 kB / 0.9826 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.002984, allocations: 8.031 kB / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.003009, allocations: 4.875 kB / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.003099, allocations: 109.7 kB / 0.9827 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-06/0.003107, allocations: 384 / 0.9827 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.003126, allocations: 4.375 kB / 0.9828 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.003242, allocations: 79.95 kB / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003248, allocations: 192 / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003255, allocations: 384 / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.003258, allocations: 384 / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.003305, allocations: 19.86 kB / 0.9828 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.003444, allocations: 105.4 kB / 0.9829 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.003538, allocations: 46.56 kB / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.00357, allocations: 12.98 kB / 0.983 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.003628, allocations: 8 kB / 0.983 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.003656, allocations: 34.56 kB / 0.983 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 3.055e-06/0.003659, allocations: 4 kB / 0.983 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001223/0.004881, allocations: 426.8 kB / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.004922, allocations: 55.34 kB / 0.9835 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.004987, allocations: 93.86 kB / 0.9836 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.005005, allocations: 25.7 kB / 0.9836 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.005043, allocations: 80.14 kB / 0.9837 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.005077, allocations: 23.84 kB / 0.9837 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.005114, allocations: 17.72 kB / 0.9837 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.005248, allocations: 318.8 kB / 0.984 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.005274, allocations: 8.422 kB / 0.9841 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.005298, allocations: 16.12 kB / 0.9841 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.005372, allocations: 45.06 kB / 0.9841 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.005375, allocations: 4 kB / 0.9841 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001233/0.005498, allocations: 77.56 kB / 0.9842 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.005513, allocations: 6.344 kB / 0.9842 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.005516, allocations: 4 kB / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.005525, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.005598, allocations: 15.92 kB / 0.9842 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005603, allocations: 7.938 kB / 0.9842 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.005625, allocations: 0 / 0.9842 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.005631, allocations: 3.938 kB / 0.9842 GB, free: 8.844 MB / 0.9356 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 8.6e-05/0.005717, allocations: 121.8 kB / 0.9843 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.005728, allocations: 0 / 0.9843 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.00589, allocations: 85.58 kB / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.005891, allocations: 0 / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.005896, allocations: 3.938 kB / 0.9844 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.005899, allocations: 4 kB / 0.9844 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.006009, allocations: 109.3 kB / 0.9845 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006009, allocations: 0 / 0.9845 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.006087, allocations: 12 kB / 0.9845 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006089, allocations: 4 kB / 0.9845 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.0061, allocations: 7.984 kB / 0.9846 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006101, allocations: 0 / 0.9846 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006102, allocations: 0 / 0.9846 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.006296, allocations: 125 kB / 0.9847 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.006301, allocations: 0 / 0.9847 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.006312, allocations: 0 / 0.9847 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.006359, allocations: 4 kB / 0.9847 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.006376, allocations: 3.984 kB / 0.9847 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.006387, allocations: 11.94 kB / 0.9847 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.006426, allocations: 79.34 kB / 0.9848 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006426, allocations: 0 / 0.9848 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002303/0.006657, allocations: 27.94 kB / 0.9848 GB, free: 8.195 MB / 0.9356 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.0002055/0.006862, allocations: 135.2 kB / 0.9849 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.006965, allocations: 35.92 kB / 0.985 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006966, allocations: 0 / 0.985 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.007003, allocations: 19.98 kB / 0.985 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.00714, allocations: 10.06 kB / 0.985 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.007442, allocations: 133 kB / 0.9851 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.007502, allocations: 75.14 kB / 0.9852 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.007531, allocations: 4.547 kB / 0.9852 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.007559, allocations: 12.5 kB / 0.9852 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of SimCode: time 4.7e-07/0.007559, allocations: 0 / 0.9852 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of Templates: time 0.003302/0.01086, allocations: 0.8849 MB / 0.9861 GB, free: 6.852 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.117497649043798]