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.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.00116/0.00116, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001152/0.001152, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7748, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001459/0.7762, allocations: 0.6078 MB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.7773, allocations: 1.114 MB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.7773, allocations: 0 / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.7773, allocations: 0 / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.7775, allocations: 17.73 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.7775, allocations: 0 / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.26e-05/0.7775, allocations: 6.078 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.7776, allocations: 6.562 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.7776, allocations: 0.8125 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.7776, allocations: 9.938 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.7776, allocations: 0.7812 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.7777, allocations: 24.7 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-06/0.7777, allocations: 0.75 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.167e-05/0.7777, allocations: 4.75 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.138e-05/0.7778, allocations: 18.94 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7778, allocations: 0.75 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7778, allocations: 0 / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7778, allocations: 0 / 1.273 GB, free: 6.508 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.0001864/0.778, allocations: 323.7 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.778, allocations: 9.594 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.778, allocations: 32.11 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.7781, allocations: 1.719 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.622e-05/0.7781, allocations: 162.5 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.7781, allocations: 1.375 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.7781, allocations: 5.094 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.7782, allocations: 37.06 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7782, allocations: 4.812 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.7782, allocations: 0 / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.7782, allocations: 0.7812 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.7783, allocations: 10.17 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.515e-05/0.7783, allocations: 150.3 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.7785, allocations: 37.3 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.7785, allocations: 12.42 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.7786, allocations: 82.11 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.7786, allocations: 43.88 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7786, allocations: 0.7188 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.003961/0.7826, allocations: 0.5678 MB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.7826, allocations: 60.62 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.363e-05/0.7826, allocations: 93.86 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7826, allocations: 26.58 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-06/0.7826, allocations: 84.14 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.7827, allocations: 10.5 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.7827, allocations: 18.42 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.7828, allocations: 319 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.7833, allocations: 85.22 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.7839, allocations: 109.4 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.785, allocations: 187.4 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.785, allocations: 0 / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001149/0.7861, allocations: 220 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7861, allocations: 7.234 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7861, allocations: 1.062 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7862, allocations: 0.7812 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.7865, allocations: 55.03 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7865, allocations: 4.828 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.7869, allocations: 39.44 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.7869, allocations: 2.781 kB / 1.276 GB, free: 4.602 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 5.879e-05/0.7869, allocations: 113.7 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.7869, allocations: 5.406 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.7882, allocations: 244.1 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7882, allocations: 1 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7882, allocations: 1.094 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7882, allocations: 0 / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.7895, allocations: 454.9 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7895, allocations: 4.812 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.7899, allocations: 44.59 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7899, allocations: 4 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.7899, allocations: 2.375 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7899, allocations: 0 / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7899, allocations: 3.938 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.7911, allocations: 310.7 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.7911, allocations: 81.19 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.7911, allocations: 1.281 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.7915, allocations: 37.19 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.7915, allocations: 7.953 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.7915, allocations: 1.719 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.013e-05/0.7915, allocations: 79.22 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/0.7915, allocations: 0 / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002363/0.7917, allocations: 14.06 kB / 1.277 GB, free: 3.727 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.001339/0.7931, allocations: 0.8491 MB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.7942, allocations: 177.4 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7942, allocations: 1.031 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.7948, allocations: 92.8 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.795, allocations: 4.5 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.7962, allocations: 259.4 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.7963, allocations: 0.6768 MB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00015/0.7964, allocations: 24.28 kB / 1.279 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.7965, allocations: 21 kB / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.7965, allocations: 0 / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.8194, allocations: 1.609 MB / 1.281 GB, free: 17.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.835, allocations: 5.734 kB / 1.281 GB, free: 17.73 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.058947999999873]