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.008935/0.008935, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001666/0.001667, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.12 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9813/0.9825, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001882/0.9845, allocations: 0.6087 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.9849, allocations: 157.4 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.985, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.985, allocations: 3.938 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.985, allocations: 4 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.9854, allocations: 39.89 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.9855, allocations: 12 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.9855, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.9855, allocations: 7.984 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.9856, allocations: 11.94 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.9856, allocations: 0 / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.9857, allocations: 43.94 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.9858, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.9858, allocations: 7.938 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.9859, allocations: 23.95 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.9859, allocations: 7.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.316e-06/0.9859, allocations: 4 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9859, allocations: 3.938 kB / 1.209 GB, free: 12.67 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.0006553/0.9866, allocations: 331.6 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9867, allocations: 16.03 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.9867, allocations: 0.9375 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9869, allocations: 164.3 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.9869, allocations: 384 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.9869, allocations: 4.375 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.987, allocations: 42.25 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.9871, allocations: 192 / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.9871, allocations: 3.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9871, allocations: 0 / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.9871, allocations: 19.92 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.9874, allocations: 169.5 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.9875, allocations: 42.55 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.9875, allocations: 24.97 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.9876, allocations: 81.11 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.9877, allocations: 34.5 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.9877, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0013/0.989, allocations: 488.4 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.9891, allocations: 51.41 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.9891, allocations: 101.8 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.9892, allocations: 29.64 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.9892, allocations: 80.14 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.9892, allocations: 21.55 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.9893, allocations: 25.83 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.9895, allocations: 318.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.9895, allocations: 11.98 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.9896, allocations: 8 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.9897, allocations: 41.08 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.9897, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.9898, allocations: 81.5 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9898, allocations: 7.938 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9898, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-05/0.9899, allocations: 11.94 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.99, allocations: 8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.99, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.99, allocations: 4 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.99, allocations: 0 / 1.211 GB, free: 10.18 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 8.658e-05/0.9901, allocations: 117.8 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.9901, allocations: 3.938 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.9903, allocations: 89.52 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9903, allocations: 4 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.9904, allocations: 0 / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9904, allocations: 0 / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.9905, allocations: 161.7 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9905, allocations: 0 / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.9906, allocations: 15.98 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9906, allocations: 3.938 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9906, allocations: 8 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9906, allocations: 0 / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9906, allocations: 0 / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.9908, allocations: 117 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.9909, allocations: 85.08 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.9909, allocations: 4 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.991, allocations: 4.047 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.991, allocations: 8 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.991, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.991, allocations: 79.28 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.991, allocations: 4.156 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000221/0.9913, allocations: 35.98 kB / 1.212 GB, free: 9.348 MB / 0.9356 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.0002043/0.9915, allocations: 123.2 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.9916, allocations: 47.84 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9916, allocations: 4 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.9916, allocations: 16 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.9918, allocations: 14.12 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.9921, allocations: 136.3 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.9924, allocations: 0.6845 MB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.9924, allocations: 8.484 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.9925, allocations: 15.42 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.9925, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003441/0.9959, allocations: 0.8715 MB / 1.213 GB, free: 7.387 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/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