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.001704/0.001704, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.00209/0.00209, allocations: 162.7 kB / 22.45 MB, free: 5.375 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.492/1.492, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.005/3.005, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 4.118e-06/4.118e-06, allocations: 3.984 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.417e-05/4.829e-05, allocations: 2.281 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001695/0.001743, allocations: 0.6166 MB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004594/0.002202, allocations: 143.4 kB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.002235, allocations: 0 / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.002255, allocations: 0 / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.08e-05/0.002276, allocations: 0 / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.002631, allocations: 47.77 kB / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.002693, allocations: 19.97 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.002741, allocations: 0 / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.00278, allocations: 11.92 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.00285, allocations: 8 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.002866, allocations: 0 / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.002969, allocations: 39.94 kB / 1.001 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.002982, allocations: 0 / 1.001 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.003003, allocations: 4 kB / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.00313, allocations: 39.88 kB / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003132, allocations: 0 / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.72e-07/0.003133, allocations: 0 / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.003143, allocations: 3.938 kB / 1.001 GB, free: 6.305 MB / 0.9512 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.0004285/0.003571, allocations: 254.4 kB / 1.001 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.003615, allocations: 8.031 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.003661, allocations: 8.922 kB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.003807, allocations: 113.7 kB / 1.001 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003817, allocations: 384 / 1.001 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.003853, allocations: 4.375 kB / 1.001 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.003999, allocations: 71.89 kB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.00401, allocations: 192 / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.004022, allocations: 4.375 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.004027, allocations: 384 / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.004078, allocations: 19.86 kB / 1.002 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.004238, allocations: 101.3 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.004342, allocations: 50.62 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.004378, allocations: 16.97 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.004447, allocations: 4 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.004486, allocations: 42.5 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.004487, allocations: 0 / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.001292/0.005779, allocations: 411 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.005829, allocations: 59.33 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.005903, allocations: 97.86 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.005921, allocations: 25.7 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.00596, allocations: 84.27 kB / 1.002 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.006002, allocations: 23.81 kB / 1.002 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.006044, allocations: 21.7 kB / 1.002 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.006191, allocations: 318.8 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.006225, allocations: 7.984 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.006252, allocations: 12 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.00633, allocations: 40.8 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006331, allocations: 0 / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.006467, allocations: 69.66 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.006484, allocations: 4 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006489, allocations: 0 / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.006505, allocations: 11.94 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.00659, allocations: 12 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.0066, allocations: 8.375 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.006624, allocations: 0 / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.006631, allocations: 0 / 1.003 GB, free: 4.207 MB / 0.9512 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 9.972e-05/0.00673, allocations: 126.2 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.006744, allocations: 0 / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.006931, allocations: 85.62 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.006934, allocations: 0 / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.00694, allocations: 7.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.006944, allocations: 0 / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.007055, allocations: 113.3 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.007058, allocations: 3.984 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.00714, allocations: 12 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.007143, allocations: 0 / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.007154, allocations: 4 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.007156, allocations: 3.938 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007158, allocations: 400 / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.007369, allocations: 117 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.007375, allocations: 4.031 kB / 1.003 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.007394, allocations: 12.05 kB / 1.003 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.007443, allocations: 4 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.00746, allocations: 0 / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.00747, allocations: 11.88 kB / 1.003 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.007522, allocations: 79.27 kB / 1.003 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007522, allocations: 0 / 1.003 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002376/0.00776, allocations: 31.94 kB / 1.004 GB, free: 3.539 MB / 0.9512 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.0002292/0.007989, allocations: 139.1 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.008106, allocations: 36.08 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008108, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.008149, allocations: 23.92 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.008296, allocations: 8 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.008646, allocations: 132.9 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.008712, allocations: 71.22 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.008747, allocations: 7.984 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.008775, allocations: 16.5 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.008776, allocations: 0 / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of Templates: time 0.003729/0.01251, allocations: 0.8657 MB / 1.005 GB, free: 2.203 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.066685505211353]