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.001443/0.001443, allocations: 104.8 kB / 16.45 MB, free: 6.445 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.00144/0.00144, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] 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.804/2.804, allocations: 476.7 MB / 0.7611 GB, free: 15.68 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.002031/0.002031, allocations: 75.89 kB / 1.104 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 168.7 MB / 1.269 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00174/1.033, allocations: 0.605 MB / 1.269 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001297/1.035, allocations: 1.111 MB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/1.035, allocations: 0 / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/1.035, allocations: 0 / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002677/1.035, allocations: 26.09 kB / 1.27 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/1.035, allocations: 0 / 1.27 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.963e-05/1.035, allocations: 7.078 kB / 1.27 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/1.035, allocations: 5.859 kB / 1.27 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/1.035, allocations: 1.266 kB / 1.27 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/1.035, allocations: 1.344 kB / 1.27 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-06/1.035, allocations: 0.75 kB / 1.27 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/1.035, allocations: 21.02 kB / 1.271 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/1.035, allocations: 5.109 kB / 1.271 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/1.035, allocations: 3.938 kB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.49e-05/1.035, allocations: 15.73 kB / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.035, allocations: 0.6094 kB / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.684e-06/1.035, allocations: 0 / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.035, allocations: 4 kB / 1.271 GB, free: 6.473 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.0002356/1.036, allocations: 324.3 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.036, allocations: 8.969 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/1.036, allocations: 32.23 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/1.036, allocations: 1.453 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/1.036, allocations: 162.7 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.036, allocations: 5.406 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/1.036, allocations: 1.344 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/1.036, allocations: 40.44 kB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.036, allocations: 4.781 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/1.036, allocations: 0.5156 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.036, allocations: 0.7188 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/1.036, allocations: 6.047 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/1.036, allocations: 151 kB / 1.271 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/1.036, allocations: 40.3 kB / 1.271 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/1.036, allocations: 8.656 kB / 1.271 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/1.036, allocations: 86.78 kB / 1.271 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/1.036, allocations: 35.11 kB / 1.271 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/1.036, allocations: 0.875 kB / 1.271 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.004672/1.041, allocations: 0.5836 MB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/1.041, allocations: 56.67 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.034e-05/1.041, allocations: 90.77 kB / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.041, allocations: 30.31 kB / 1.272 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.204e-05/1.041, allocations: 80.14 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.041, allocations: 16.12 kB / 1.272 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/1.041, allocations: 20.16 kB / 1.272 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/1.041, allocations: 313.2 kB / 1.273 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/1.042, allocations: 82.5 kB / 1.273 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/1.042, allocations: 105.1 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.044, allocations: 190.6 kB / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.044, allocations: 0 / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001386/1.045, allocations: 217.9 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.045, allocations: 7.469 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.045, allocations: 1.5 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.045, allocations: 0.9062 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/1.046, allocations: 49.95 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.046, allocations: 1.891 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/1.046, allocations: 44 kB / 1.273 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/1.046, allocations: 7.453 kB / 1.273 GB, free: 4.566 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 7.014e-05/1.046, allocations: 109.5 kB / 1.273 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/1.046, allocations: 5.562 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/1.047, allocations: 234.6 kB / 1.274 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.047, allocations: 0.875 kB / 1.274 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.047, allocations: 0.9688 kB / 1.274 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.047, allocations: 0.6562 kB / 1.274 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.049, allocations: 459.5 kB / 1.274 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.049, allocations: 4 kB / 1.274 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/1.049, allocations: 49.55 kB / 1.274 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.049, allocations: 5.156 kB / 1.274 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/1.049, allocations: 1.031 kB / 1.274 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.049, allocations: 4.25 kB / 1.274 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.049, allocations: 0.8438 kB / 1.274 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/1.051, allocations: 310.1 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/1.051, allocations: 78.08 kB / 1.274 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/1.051, allocations: 7.031 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.051, allocations: 34.47 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/1.051, allocations: 11.84 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.051, allocations: 1.344 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.379e-05/1.051, allocations: 76.22 kB / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.051, allocations: 0 / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003045/1.051, allocations: 12.97 kB / 1.275 GB, free: 3.695 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.001511/1.053, allocations: 0.8497 MB / 1.275 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.054, allocations: 173.4 kB / 1.276 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.054, allocations: 0.75 kB / 1.276 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006512/1.055, allocations: 91.61 kB / 1.276 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.055, allocations: 8.188 kB / 1.276 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/1.057, allocations: 255.8 kB / 1.276 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/1.057, allocations: 0.6756 MB / 1.277 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001878/1.057, allocations: 25.55 kB / 1.277 GB, free: 18.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/1.057, allocations: 20.45 kB / 1.277 GB, free: 18.07 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.057, allocations: 0 / 1.277 GB, free: 18.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/1.082, allocations: 1.66 MB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.326, allocations: 5.875 kB / 1.278 GB, free: 17.71 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.495974518824369]