Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 106.7 kB / 16.41 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.001571/0.001571, allocations: 187 kB / 17.34 MB, free: 5.742 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.381/1.381, 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 10.1.1-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.8427, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001862/0.8447, allocations: 0.6001 MB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.8461, allocations: 1.11 MB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.8462, allocations: 0 / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.8462, allocations: 3.938 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.8465, allocations: 23.91 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.8465, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.061e-05/0.8465, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.8466, allocations: 7.984 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.8466, allocations: 4 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.298e-05/0.8466, allocations: 4 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.8467, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.8468, allocations: 19.92 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.8468, allocations: 7.922 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.8468, allocations: 4 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.541e-05/0.8469, allocations: 11.98 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8469, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8469, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8469, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 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.0002835/0.8472, allocations: 319.6 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8473, allocations: 12.03 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.8473, allocations: 0.9375 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.8474, allocations: 164.3 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.8474, allocations: 384 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.8474, allocations: 8.375 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.8475, allocations: 41.94 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8475, allocations: 0 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.8476, allocations: 0 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8476, allocations: 0 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.8476, allocations: 8 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.8478, allocations: 161.6 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.848, allocations: 38.55 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.848, allocations: 4.859 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.8481, allocations: 81.11 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.8482, allocations: 46.58 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.8482, allocations: 4 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.004377/0.8526, allocations: 0.5676 MB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.8527, allocations: 55.41 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.8527, allocations: 89.86 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.8527, allocations: 25.7 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.8528, allocations: 84.12 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.8529, allocations: 11.81 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.8529, allocations: 25.7 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.8531, allocations: 314.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.8537, allocations: 79.95 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.8543, allocations: 106.5 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.8556, allocations: 190.5 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8556, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001245/0.8568, allocations: 217.6 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8568, allocations: 10.41 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8569, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8569, allocations: 7.984 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.8573, allocations: 51.91 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8573, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.8576, allocations: 43.97 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.8577, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001564/0.8578, allocations: 109.8 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.8578, allocations: 11.84 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.8592, allocations: 233.1 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8592, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8592, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8592, allocations: 3.938 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.8608, allocations: 454.4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8608, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.8612, allocations: 48.28 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8612, allocations: 0 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.8612, allocations: 7.984 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8612, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8612, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.8625, allocations: 307.3 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.8626, allocations: 81.09 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.8626, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.863, allocations: 39.92 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.863, allocations: 7.984 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.863, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.863, allocations: 75.28 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8631, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002583/0.8633, allocations: 16 kB / 1.173 GB, free: 13.57 MB / 0.9044 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 (5): * Single equations (assignments): 5 * 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.0001956/0.8635, allocations: 101.1 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.8648, allocations: 187.8 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8648, allocations: 0 / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.8654, allocations: 92.08 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.8656, allocations: 0.5625 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.8667, allocations: 250.4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.867, allocations: 0.6768 MB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.8671, allocations: 15.44 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 4.1e-07/0.8671, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.002713/0.8698, allocations: 1.101 MB / 1.175 GB, free: 11.11 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches