Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001306/0.001306, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001287/0.001287, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.482/1.482, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 66.86 kB / 1.097 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3882, allocations: 168.7 MB / 1.262 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002033/0.3903, allocations: 0.5952 MB / 1.263 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004807/0.3907, allocations: 159.8 kB / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.3908, allocations: 0 / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.3908, allocations: 3.938 kB / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.746e-05/0.3908, allocations: 0 / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3911, allocations: 43.89 kB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.3912, allocations: 8 kB / 1.263 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.3913, allocations: 15.98 kB / 1.263 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.3913, allocations: 0 / 1.263 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.3913, allocations: 7.938 kB / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3914, allocations: 0 / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.3915, allocations: 39.94 kB / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3915, allocations: 11.94 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3915, allocations: 3.938 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3916, allocations: 31.89 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3916, allocations: 3.984 kB / 1.263 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3916, allocations: 0 / 1.263 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3916, allocations: 4 kB / 1.263 GB, free: 11.96 MB / 0.9825 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.0004732/0.3921, allocations: 327.5 kB / 1.263 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3921, allocations: 15.97 kB / 1.263 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.3922, allocations: 4.938 kB / 1.263 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3924, allocations: 164.3 kB / 1.263 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3924, allocations: 4.375 kB / 1.264 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3924, allocations: 384 / 1.264 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3926, allocations: 42.25 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3926, allocations: 4.188 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3926, allocations: 7.938 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3926, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.3926, allocations: 23.86 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.3929, allocations: 161.6 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.393, allocations: 42.62 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.393, allocations: 20.97 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.3932, allocations: 77.11 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.3932, allocations: 42.56 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3932, allocations: 0 / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001492/0.3947, allocations: 487.9 kB / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3948, allocations: 55.39 kB / 1.264 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.3948, allocations: 93.86 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3949, allocations: 25.7 kB / 1.265 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.3949, allocations: 88.27 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3949, allocations: 19.8 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.395, allocations: 25.7 kB / 1.265 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3951, allocations: 314.8 kB / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.3952, allocations: 11.98 kB / 1.265 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.3952, allocations: 12.44 kB / 1.265 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.3953, allocations: 41.06 kB / 1.265 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3953, allocations: 0 / 1.265 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001194/0.3954, allocations: 77.56 kB / 1.265 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3954, allocations: 11.94 kB / 1.265 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3954, allocations: 4 kB / 1.265 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3955, allocations: 0 / 1.265 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3955, allocations: 16 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3956, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.3956, allocations: 3.938 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3956, allocations: 4 kB / 1.265 GB, free: 9.465 MB / 0.9825 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 0.0001115/0.3957, allocations: 114.6 kB / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.3957, allocations: 11.94 kB / 1.265 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.3959, allocations: 77.58 kB / 1.265 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3959, allocations: 3.984 kB / 1.265 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3959, allocations: 0 / 1.265 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.396, allocations: 85.06 kB / 1.265 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.396, allocations: 4 kB / 1.265 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.396, allocations: 0 / 1.265 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.3961, allocations: 7.984 kB / 1.265 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002345/0.3963, allocations: 160.9 kB / 1.266 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002851/0.3966, allocations: 258.8 kB / 1.266 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.239e-05/0.3966, allocations: 16.02 kB / 1.266 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.3967, allocations: 79.28 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of Backend: time 5.31e-07/0.3967, allocations: 0 / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.3972, allocations: 138.4 kB / 1.266 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006918/0.3979, allocations: 0.5765 MB / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.004059/0.402, allocations: 0.9848 MB / 1.268 GB, free: 6.855 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches