Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 114.7 kB / 17.17 MB, free: 5.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 212 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.98/2.98, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 77.45 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002393/1.034, allocations: 0.594 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002876/1.037, allocations: 1.178 MB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/1.037, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/1.037, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/1.037, allocations: 14.08 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.79e-06/1.037, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/1.037, allocations: 2.812 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/1.037, allocations: 9.781 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/1.037, allocations: 6.078 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/1.037, allocations: 9.031 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/1.037, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/1.038, allocations: 17.73 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-06/1.038, allocations: 0 / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/1.038, allocations: 1.062 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/1.038, allocations: 22.66 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.038, allocations: 1.125 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.936e-06/1.038, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.038, allocations: 3.938 kB / 1.281 GB, free: 10.48 MB / 0.9981 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.0004634/1.038, allocations: 320.2 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.649e-05/1.038, allocations: 9.25 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.478e-05/1.038, allocations: 4.906 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/1.038, allocations: 36.3 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/1.038, allocations: 1.688 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/1.039, allocations: 161.9 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.039, allocations: 1.156 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/1.039, allocations: 2.438 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/1.039, allocations: 43.5 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.039, allocations: 1.609 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.039, allocations: 0 / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/1.039, allocations: 5.047 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/1.039, allocations: 9.391 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/1.039, allocations: 151 kB / 1.282 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/1.039, allocations: 29.58 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/1.039, allocations: 15.41 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/1.04, allocations: 86.33 kB / 1.282 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/1.04, allocations: 36.2 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/1.04, allocations: 0 / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.006684/1.046, allocations: 0.573 MB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/1.047, allocations: 57.33 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/1.047, allocations: 93.86 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.047, allocations: 25.7 kB / 1.282 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/1.047, allocations: 81.11 kB / 1.282 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/1.047, allocations: 15.41 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/1.047, allocations: 20.47 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.047, allocations: 312.7 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/1.048, allocations: 83.31 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/1.049, allocations: 104.5 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/1.051, allocations: 186.4 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.051, allocations: 1.25 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001943/1.053, allocations: 224.4 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.053, allocations: 5.906 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.053, allocations: 1.375 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.053, allocations: 5.25 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/1.053, allocations: 49.94 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.053, allocations: 1.969 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/1.054, allocations: 39.39 kB / 1.283 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/1.054, allocations: 3.656 kB / 1.283 GB, free: 8.578 MB / 0.9981 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.0001447/1.054, allocations: 117.8 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/1.054, allocations: 5.25 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/1.056, allocations: 238.6 kB / 1.284 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.056, allocations: 1.062 kB / 1.284 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.056, allocations: 0 / 1.284 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.056, allocations: 6.016 kB / 1.284 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/1.058, allocations: 462.7 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.058, allocations: 0 / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/1.059, allocations: 48.45 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.059, allocations: 1.031 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/1.059, allocations: 6.172 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.059, allocations: 1.438 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.059, allocations: 4 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/1.061, allocations: 301.7 kB / 1.285 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/1.061, allocations: 85.72 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/1.061, allocations: 2.094 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/1.062, allocations: 40.02 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/1.062, allocations: 2.938 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/1.062, allocations: 5.781 kB / 1.285 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.895e-05/1.062, allocations: 80.69 kB / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 0 / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004904/1.062, allocations: 18.06 kB / 1.285 GB, free: 7.684 MB / 0.9981 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.002505/1.065, allocations: 0.8364 MB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002005/1.067, allocations: 178.3 kB / 1.286 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.067, allocations: 0 / 1.286 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009349/1.068, allocations: 88.3 kB / 1.286 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/1.068, allocations: 5.875 kB / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/1.07, allocations: 255.8 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/1.071, allocations: 0.6745 MB / 1.287 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000291/1.071, allocations: 38.03 kB / 1.287 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/1.071, allocations: 15.5 kB / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of SimCode: time 1.693e-06/1.071, allocations: 0 / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/1.097, allocations: 1.698 MB / 1.289 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.664, allocations: 10.06 kB / 1.289 GB, free: 5.695 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.40407080500154]