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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007459/0.007459, allocations: 104.1 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 188.5 kB / 16.67 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.596/2.596, allocations: 472.6 MB / 0.7453 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.854, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001708/0.8557, allocations: 0.6093 MB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000418/0.8562, allocations: 169.3 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.8562, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.8562, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.259e-05/0.8562, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.8566, allocations: 43.84 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.8566, allocations: 7.984 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.8567, allocations: 11.98 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.8567, allocations: 7.938 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.8568, allocations: 0 / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.8568, allocations: 4 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.8569, allocations: 35.95 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.8569, allocations: 11.98 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.857, allocations: 7.938 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.8571, allocations: 31.88 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8571, allocations: 0 / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8571, allocations: 0 / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8571, allocations: 0 / 1.227 GB, free: 12.58 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.0004144/0.8575, allocations: 336 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.8576, allocations: 8.031 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.8576, allocations: 4.938 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.8577, allocations: 168.4 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.8577, allocations: 384 / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.8578, allocations: 4.312 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8579, allocations: 46.19 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8579, allocations: 192 / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.8579, allocations: 7.938 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8579, allocations: 0 / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.858, allocations: 15.98 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.8582, allocations: 157.6 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.8583, allocations: 46.62 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.8583, allocations: 24.97 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.8584, allocations: 81.11 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8585, allocations: 38.5 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.8585, allocations: 0 / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.00127/0.8597, allocations: 496.4 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.8598, allocations: 51.41 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.8599, allocations: 93.86 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.8599, allocations: 25.7 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.8599, allocations: 84.08 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.86, allocations: 27.78 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.86, allocations: 25.7 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.8601, allocations: 315 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.8601, allocations: 15.98 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.8602, allocations: 12 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.8602, allocations: 40.78 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.8602, allocations: 0 / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.8604, allocations: 69.64 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8604, allocations: 11.94 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.8604, allocations: 0 / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8604, allocations: 3.984 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.8605, allocations: 12 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8605, allocations: 4 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.8606, allocations: 0 / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8606, allocations: 7.984 kB / 1.229 GB, free: 10.09 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 7.802e-05/0.8607, allocations: 114.3 kB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.8607, allocations: 7.938 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.8609, allocations: 81.62 kB / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8609, allocations: 0 / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8609, allocations: 4 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8609, allocations: 4 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.861, allocations: 161.7 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.861, allocations: 0 / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.8611, allocations: 15.94 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.8611, allocations: 3.938 kB / 1.229 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.8611, allocations: 4 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8611, allocations: 400 / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8611, allocations: 0 / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.8613, allocations: 129 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.8614, allocations: 81.05 kB / 1.229 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.8614, allocations: 3.984 kB / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.8614, allocations: 12.09 kB / 1.229 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.8615, allocations: 0 / 1.229 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8615, allocations: 4 kB / 1.229 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.8615, allocations: 75.28 kB / 1.229 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8615, allocations: 7.875 kB / 1.229 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002218/0.8618, allocations: 35.92 kB / 1.229 GB, free: 9.25 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.0002247/0.862, allocations: 135.3 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.8621, allocations: 39.97 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8621, allocations: 0 / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.8622, allocations: 23.94 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.8623, allocations: 4 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.8626, allocations: 144.3 kB / 1.23 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.8629, allocations: 0.6846 MB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.8629, allocations: 11.92 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.863, allocations: 11.44 kB / 1.23 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.863, allocations: 0 / 1.23 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of Templates: time 0.00321/0.8662, allocations: 0.876 MB / 1.231 GB, free: 7.277 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) 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) Reference file matches