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.001624/0.001624, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001821/0.001821, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.407/1.407, 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.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8886, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002091/0.8907, allocations: 0.597 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.8913, allocations: 167.4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.8913, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.8913, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.385e-05/0.8914, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.8918, allocations: 43.89 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.8919, allocations: 19.92 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.892, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.892, allocations: 4 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.8921, allocations: 11.92 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.8921, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.8922, allocations: 39.95 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.8922, allocations: 4 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.8923, allocations: 7.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.8924, allocations: 27.94 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8924, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8924, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.8924, allocations: 3.938 kB / 1.209 GB, free: 12.65 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.00049/0.8929, allocations: 339.5 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.893, allocations: 8.031 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.893, allocations: 4.938 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8932, allocations: 172.3 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.8932, allocations: 384 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.8932, allocations: 4.375 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.8934, allocations: 42.25 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8934, allocations: 4.172 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8934, allocations: 3.938 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8934, allocations: 3.938 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.8935, allocations: 12 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.8937, allocations: 165.5 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.8938, allocations: 42.56 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.8939, allocations: 24.97 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.894, allocations: 77.11 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.8941, allocations: 34.56 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.8941, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001559/0.8956, allocations: 496.2 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8957, allocations: 51.41 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.8958, allocations: 93.86 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.8958, allocations: 29.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.8959, allocations: 80.14 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.8959, allocations: 21.53 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.896, allocations: 21.72 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8961, allocations: 319 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.8962, allocations: 15.98 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.8962, allocations: 8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.8963, allocations: 40.78 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8963, allocations: 0 / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001462/0.8964, allocations: 77.58 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8965, allocations: 7.938 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8965, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8965, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.8966, allocations: 15.98 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8966, allocations: 7.938 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.8966, allocations: 0 / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.8967, allocations: 4 kB / 1.212 GB, free: 10.16 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 0.0001175/0.8968, allocations: 113.8 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.8968, allocations: 7.938 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.897, allocations: 81.58 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.897, allocations: 4 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.897, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.897, allocations: 4 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.8972, allocations: 161.7 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8972, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.8973, allocations: 12.19 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.8973, allocations: 7.875 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8973, allocations: 11.94 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8973, allocations: 0 / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8974, allocations: 4 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.8976, allocations: 117.4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.8976, allocations: 89.02 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.8977, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.8977, allocations: 8.031 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.8977, allocations: 4 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.8978, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.8978, allocations: 79.27 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8978, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002527/0.8981, allocations: 32 kB / 1.212 GB, free: 9.328 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.0002755/0.8983, allocations: 139.3 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.8985, allocations: 40.05 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8985, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.8985, allocations: 27.92 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.8987, allocations: 8 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.8991, allocations: 154.5 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.8994, allocations: 0.6846 MB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.8995, allocations: 15.42 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8995, allocations: 3.938 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.002881/0.9024, allocations: 0.9172 MB / 1.214 GB, free: 7.285 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)