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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001883/0.001883, allocations: 67.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9161, allocations: 173.7 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001733/0.9178, allocations: 0.6039 MB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.9182, allocations: 164.7 kB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.9182, allocations: 0 / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.9183, allocations: 4 kB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.9183, allocations: 2.812 kB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.9186, allocations: 40.8 kB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.9187, allocations: 12.89 kB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.9187, allocations: 6.969 kB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.9187, allocations: 6.875 kB / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.9188, allocations: 13.89 kB / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.9188, allocations: 0 / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.9189, allocations: 33.59 kB / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.9189, allocations: 2.531 kB / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.9189, allocations: 14.66 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.919, allocations: 28.84 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.919, allocations: 0 / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.919, allocations: 0 / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.919, allocations: 0 / 1.306 GB, free: 32.84 MB / 1.061 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.0003528/0.9194, allocations: 340.8 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9194, allocations: 15.03 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.9195, allocations: 0.9375 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.9195, allocations: 160.4 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.9195, allocations: 10.94 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.9196, allocations: 2.844 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.9197, allocations: 49.31 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.9197, allocations: 192 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9197, allocations: 3.938 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9197, allocations: 0 / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.9198, allocations: 15.03 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.9199, allocations: 156.8 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.92, allocations: 50.31 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.92, allocations: 17.98 kB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/0.9201, allocations: 79.7 kB / 1.307 GB, free: 31.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.9201, allocations: 33.12 kB / 1.307 GB, free: 31.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.9201, allocations: 0 / 1.307 GB, free: 31.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001153/0.9213, allocations: 494.9 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.9213, allocations: 58.03 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.831e-05/0.9213, allocations: 93.19 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.9213, allocations: 32.58 kB / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.9214, allocations: 80.14 kB / 1.308 GB, free: 31.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.9214, allocations: 22.36 kB / 1.308 GB, free: 31.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.9214, allocations: 22.16 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.9215, allocations: 313.7 kB / 1.308 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.9215, allocations: 21.33 kB / 1.308 GB, free: 30.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.9215, allocations: 12.91 kB / 1.308 GB, free: 30.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.9216, allocations: 41.34 kB / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.9216, allocations: 0 / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.013e-05/0.9216, allocations: 70.31 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9217, allocations: 9.922 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9217, allocations: 0 / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9217, allocations: 2.938 kB / 1.308 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.9218, allocations: 16.94 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.9218, allocations: 2.906 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.9218, allocations: 11.23 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.9218, allocations: 2.156 kB / 1.309 GB, free: 30.69 MB / 1.061 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 4.384e-05/0.9218, allocations: 108.4 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.9219, allocations: 3.938 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.922, allocations: 86.14 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.922, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.922, allocations: 2.906 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.922, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.9221, allocations: 176.6 kB / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9221, allocations: 0 / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.9222, allocations: 12.03 kB / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9222, allocations: 7.938 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9222, allocations: 0 / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.9222, allocations: 7.406 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9222, allocations: 0 / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.9223, allocations: 115.8 kB / 1.309 GB, free: 30.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.9223, allocations: 81.11 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9224, allocations: 7.938 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.9224, allocations: 2.906 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.9224, allocations: 6.031 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.9224, allocations: 6.5 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.411e-05/0.9224, allocations: 75.28 kB / 1.309 GB, free: 30.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9224, allocations: 0 / 1.309 GB, free: 30.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002047/0.9226, allocations: 32.91 kB / 1.309 GB, free: 30.02 MB / 1.061 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.0001976/0.9228, allocations: 135.5 kB / 1.309 GB, free: 29.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.923, allocations: 30.19 kB / 1.309 GB, free: 29.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.923, allocations: 4 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.923, allocations: 21.81 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.9231, allocations: 9.594 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.9234, allocations: 148.9 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.9235, allocations: 0.678 MB / 1.31 GB, free: 29.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.9236, allocations: 19.47 kB / 1.31 GB, free: 29.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.9236, allocations: 10.38 kB / 1.31 GB, free: 29.07 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.9236, allocations: 0 / 1.31 GB, free: 29.07 MB / 1.061 GB Notification: Performance of Templates: time 0.003206/0.9268, allocations: 0.9061 MB / 1.311 GB, free: 28.96 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] 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.754290087148547]