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.001709/0.001709, allocations: 103.7 kB / 16.45 MB, free: 6.445 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.001965/0.001965, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.738 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 3.011/3.011, allocations: 497.2 MB / 0.7812 GB, free: 11.99 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 75.89 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9596, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001507/0.9611, allocations: 0.6073 MB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.9614, allocations: 160.8 kB / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.9615, allocations: 0 / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.9615, allocations: 0 / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.092e-05/0.9615, allocations: 0 / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.9618, allocations: 47.39 kB / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.9618, allocations: 17.58 kB / 1.305 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.9619, allocations: 3.938 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.9619, allocations: 2.875 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.9619, allocations: 14.09 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.962, allocations: 3.031 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.962, allocations: 34.34 kB / 1.305 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.962, allocations: 3.188 kB / 1.305 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.9621, allocations: 10.88 kB / 1.305 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.9621, allocations: 28.73 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9621, allocations: 4 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9621, allocations: 0 / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.9622, allocations: 0 / 1.305 GB, free: 31.54 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.0003017/0.9625, allocations: 330 kB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.9625, allocations: 8.969 kB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.9625, allocations: 36.86 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.9625, allocations: 0.9375 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.824e-05/0.9626, allocations: 167.3 kB / 1.305 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.9626, allocations: 4.375 kB / 1.305 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.9626, allocations: 11 kB / 1.305 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.917e-05/0.9627, allocations: 39.25 kB / 1.305 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9628, allocations: 10.81 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.9628, allocations: 3.891 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.9628, allocations: 3.938 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.9628, allocations: 12.34 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.9629, allocations: 162.1 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.963, allocations: 45.84 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.9631, allocations: 17.45 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/0.9632, allocations: 83.39 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.9632, allocations: 38.5 kB / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.9632, allocations: 0 / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001227/0.9644, allocations: 484.3 kB / 1.306 GB, free: 30.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.9644, allocations: 54.16 kB / 1.306 GB, free: 30.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.616e-05/0.9645, allocations: 97.86 kB / 1.306 GB, free: 29.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.9645, allocations: 25.7 kB / 1.306 GB, free: 29.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.291e-05/0.9645, allocations: 82.64 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.9645, allocations: 29.62 kB / 1.307 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.9645, allocations: 25.81 kB / 1.307 GB, free: 29.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.9646, allocations: 313.7 kB / 1.307 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.9646, allocations: 12.52 kB / 1.307 GB, free: 29.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.9646, allocations: 16.09 kB / 1.307 GB, free: 29.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.9647, allocations: 40.83 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.9647, allocations: 0 / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.396e-05/0.9648, allocations: 72 kB / 1.307 GB, free: 29.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9648, allocations: 8.656 kB / 1.307 GB, free: 29.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9648, allocations: 3.984 kB / 1.307 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9648, allocations: 0 / 1.307 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.9649, allocations: 12.44 kB / 1.307 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.9649, allocations: 3.094 kB / 1.307 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.9649, allocations: 4 kB / 1.307 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.965, allocations: 7 kB / 1.307 GB, free: 29.36 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 5.291e-05/0.965, allocations: 109.8 kB / 1.307 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.965, allocations: 14.56 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.9652, allocations: 78.58 kB / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.9652, allocations: 0 / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9652, allocations: 2.906 kB / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.9652, allocations: 0 / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.9653, allocations: 172.7 kB / 1.307 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9653, allocations: 4 kB / 1.307 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.9653, allocations: 22.12 kB / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9654, allocations: 4 kB / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.9654, allocations: 0 / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.9654, allocations: 2.75 kB / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9654, allocations: 0 / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.9655, allocations: 117.9 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.9655, allocations: 81.05 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.9656, allocations: 7.953 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.9656, allocations: 2.844 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.9656, allocations: 6.594 kB / 1.308 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.9656, allocations: 2.625 kB / 1.308 GB, free: 28.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.9656, allocations: 75.28 kB / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9656, allocations: 0 / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002235/0.9659, allocations: 31.95 kB / 1.308 GB, free: 28.68 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.0003902/0.9662, allocations: 0.6882 MB / 1.308 GB, free: 28.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.9664, allocations: 39.61 kB / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9664, allocations: 0 / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.9664, allocations: 17.12 kB / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.9665, allocations: 10.25 kB / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.9673, allocations: 1.196 MB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.9674, allocations: 0.6818 MB / 1.31 GB, free: 26.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.9675, allocations: 9.219 kB / 1.31 GB, free: 26.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.9675, allocations: 14.47 kB / 1.31 GB, free: 26.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9675, allocations: 0 / 1.31 GB, free: 26.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.9921, allocations: 1.823 MB / 1.312 GB, free: 25.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.99, allocations: 15.7 kB / 1.312 GB, free: 25.79 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.595337967853993]