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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.88 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8478, allocations: 160.8 MB / 1.218 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002152/0.8499, allocations: 0.6017 MB / 1.219 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.8519, allocations: 1.12 MB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.8519, allocations: 0 / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.8519, allocations: 0.9062 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.8522, allocations: 22.38 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.8522, allocations: 0 / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.8522, allocations: 10.36 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.8523, allocations: 1.219 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.597e-05/0.8523, allocations: 1.281 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.8523, allocations: 5.484 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.8523, allocations: 4 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.8524, allocations: 24.67 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-06/0.8525, allocations: 0 / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.8525, allocations: 5.281 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.8526, allocations: 12.47 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8526, allocations: 1.562 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8526, allocations: 0 / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.8526, allocations: 0 / 1.22 GB, free: 2.402 MB / 0.92 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.0003665/0.8529, allocations: 322.8 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.853, allocations: 8.781 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.853, allocations: 10.02 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.8531, allocations: 161.6 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.8531, allocations: 384 / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.8532, allocations: 5.469 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.8533, allocations: 42.62 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.8533, allocations: 0 / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.8533, allocations: 5.578 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.8533, allocations: 0 / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.8533, allocations: 7.953 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.8536, allocations: 155.8 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.8538, allocations: 37.58 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.8538, allocations: 7.453 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.8539, allocations: 89.06 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.854, allocations: 35.75 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.854, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.004476/0.8585, allocations: 0.5682 MB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.8585, allocations: 52.47 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.8586, allocations: 91.02 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.8586, allocations: 25.7 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.8586, allocations: 80.14 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.8587, allocations: 21.95 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.8587, allocations: 22.58 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8589, allocations: 320.1 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.8595, allocations: 78.64 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.8601, allocations: 107.4 kB / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.8613, allocations: 191.9 kB / 1.223 GB, free: 464 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.8613, allocations: 0 / 1.223 GB, free: 464 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001292/0.8625, allocations: 214.4 kB / 1.223 GB, free: 380 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8626, allocations: 5.312 kB / 1.223 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.8626, allocations: 1.188 kB / 1.223 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8626, allocations: 4.75 kB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.863, allocations: 46.47 kB / 1.223 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.863, allocations: 5.094 kB / 1.223 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.8634, allocations: 38.56 kB / 1.223 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.8634, allocations: 18.06 kB / 1.223 GB, free: 340 kB / 0.92 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.0001531/0.8636, allocations: 111.8 kB / 1.223 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.8636, allocations: 5.062 kB / 1.223 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.8649, allocations: 235.1 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8649, allocations: 5.109 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.8649, allocations: 4 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.865, allocations: 0 / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.8665, allocations: 462.9 kB / 1.224 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.8665, allocations: 0 / 1.224 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.8669, allocations: 49.5 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8669, allocations: 1.094 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.8669, allocations: 0.9375 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8669, allocations: 0 / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8669, allocations: 5.078 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.8683, allocations: 313.8 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.8684, allocations: 78.23 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8684, allocations: 1.156 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.8687, allocations: 49.53 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.8688, allocations: 1.578 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.8688, allocations: 2.312 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.8688, allocations: 75.28 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8688, allocations: 0 / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002791/0.8691, allocations: 13.75 kB / 1.224 GB, free: 15.33 MB / 0.9356 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.0002006/0.8693, allocations: 109.7 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.8705, allocations: 185.2 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8705, allocations: 0 / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.8711, allocations: 87.83 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.8714, allocations: 5.641 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.8725, allocations: 218.2 kB / 1.225 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.8729, allocations: 0.6726 MB / 1.226 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.8731, allocations: 29.22 kB / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.8731, allocations: 17.95 kB / 1.226 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8731, allocations: 0 / 1.226 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.003466/0.8766, allocations: 0.8364 MB / 1.226 GB, free: 13.83 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.5740149281919]