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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001389/0.001389, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001317/0.001317, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.576/1.576, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9318, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001976/0.9339, allocations: 0.6068 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000468/0.9344, allocations: 159.5 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.9344, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.9344, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.9345, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.9349, allocations: 43.83 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.935, allocations: 15.98 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.935, allocations: 3.938 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.935, allocations: 7.984 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.9351, allocations: 15.98 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.9351, allocations: 0 / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.9352, allocations: 31.97 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.9353, allocations: 7.922 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.9353, allocations: 8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.9354, allocations: 27.89 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9354, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9354, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.9354, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 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.0003946/0.9358, allocations: 335.6 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9359, allocations: 12.02 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.9359, allocations: 4.938 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.936, allocations: 164.3 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.9361, allocations: 384 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.9361, allocations: 8.375 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9362, allocations: 50.17 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9362, allocations: 192 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.9362, allocations: 3.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.9363, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.9363, allocations: 15.98 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.9365, allocations: 161.5 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.9366, allocations: 46.62 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.9366, allocations: 20.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-05/0.9367, allocations: 81.09 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.9368, allocations: 38.5 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 2.625e-06/0.9368, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001253/0.938, allocations: 488.3 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.9381, allocations: 51.41 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.9381, allocations: 97.84 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.9382, allocations: 37.64 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.9382, allocations: 80.14 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.9382, allocations: 17.67 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.9383, allocations: 29.7 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.9384, allocations: 310.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.9384, allocations: 12 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.9385, allocations: 19.92 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.9385, allocations: 32.84 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.9385, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001229/0.9387, allocations: 73.59 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9387, allocations: 7.938 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9387, allocations: 7.984 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9387, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.9388, allocations: 12 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9389, allocations: 3.938 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.9389, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.9389, allocations: 8 kB / 1.211 GB, free: 10.19 MB / 0.9356 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.277e-05/0.939, allocations: 105.8 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.939, allocations: 7.938 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.9392, allocations: 93.86 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9392, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9392, allocations: 4 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.9392, allocations: 77.11 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9393, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.9393, allocations: 8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.9394, allocations: 7.922 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001954/0.9396, allocations: 156.8 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002306/0.9398, allocations: 262.8 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.66e-05/0.9399, allocations: 27.94 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.9399, allocations: 75.28 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of Backend: time 2.785e-06/0.9399, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.9404, allocations: 136 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004641/0.9409, allocations: 0.5653 MB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of Templates: time 0.003419/0.9443, allocations: 0.98 MB / 1.214 GB, free: 7.594 MB / 0.9356 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/jenkins1/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