Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 107 kB / 16.36 MB, free: 5.824 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.0009615/0.0009615, allocations: 189.1 kB / 17.29 MB, free: 5.48 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.179/1.179, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.215/2.215, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.31 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002283/0.2639, allocations: 1.454 MB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.2643, allocations: 184.3 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.2643, allocations: 11.94 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.2643, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.2644, allocations: 3.938 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2646, allocations: 31.91 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.2647, allocations: 31.86 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.2648, allocations: 7.984 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.2648, allocations: 7.984 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.2648, allocations: 15.92 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2649, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.2649, allocations: 35.97 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.265, allocations: 4 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.265, allocations: 7.938 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.2651, allocations: 43.86 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2651, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2651, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2651, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000387/0.2655, allocations: 347.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.2655, allocations: 12.03 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.2656, allocations: 4.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2657, allocations: 160.4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2657, allocations: 4.375 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.2657, allocations: 384 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.2658, allocations: 58.16 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2659, allocations: 192 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2659, allocations: 3.938 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2659, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.266, allocations: 43.89 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.2663, allocations: 244.9 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.2664, allocations: 46.47 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.2665, allocations: 20.91 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.2666, allocations: 77.11 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2666, allocations: 38.56 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2666, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002942/0.2669, allocations: 81.55 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.267, allocations: 55.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.267, allocations: 101.8 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2671, allocations: 33.77 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.2671, allocations: 88.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2671, allocations: 3.906 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.2672, allocations: 17.64 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.2673, allocations: 318.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.2673, allocations: 11.98 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.2674, allocations: 15.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2675, allocations: 44.88 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2675, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000157/0.2677, allocations: 65.61 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2677, allocations: 7.984 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.2677, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2677, allocations: 8.031 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.2678, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2678, allocations: 3.938 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.2679, allocations: 7.984 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2679, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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 6.606e-05/0.268, allocations: 121.7 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.268, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.2682, allocations: 80.77 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2682, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2682, allocations: 256 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2682, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2683, allocations: 165.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2683, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.2684, allocations: 11.98 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2684, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.2684, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2684, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2684, allocations: 7.969 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.2686, allocations: 167.4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2687, allocations: 81.11 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2687, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.2688, allocations: 7.984 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.2688, allocations: 4.031 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2688, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.2688, allocations: 91.2 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2688, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002089/0.2691, allocations: 12 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000119/0.2692, allocations: 103.2 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2694, allocations: 47.89 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2694, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.2694, allocations: 19.98 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2697, allocations: 7.875 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.2699, allocations: 101.6 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2701, allocations: 0.6806 MB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.2701, allocations: 4.125 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.2702, allocations: 11.44 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2702, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.002257/0.2724, allocations: 0.5821 MB / 1.033 GB, free: 11.62 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches