Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001367/0.001367, allocations: 109 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.001389/0.001389, 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.456/2.456, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 68.11 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8107, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002161/0.8129, allocations: 1.471 MB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000644/0.8135, allocations: 482 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.8136, allocations: 0.9062 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.8136, allocations: 3.938 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.8136, allocations: 1.328 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.8138, allocations: 24.12 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.8139, allocations: 24.89 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.814, allocations: 7.547 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.814, allocations: 9.891 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.814, allocations: 18.59 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.8141, allocations: 2.438 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.8141, allocations: 21.97 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.8141, allocations: 6.203 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.8142, allocations: 11.53 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/0.8143, allocations: 32.5 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.8143, allocations: 0 / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8143, allocations: 0.8438 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.8143, allocations: 0 / 1.273 GB, free: 6.312 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.0003268/0.8146, allocations: 346.7 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.8147, allocations: 9.062 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.101e-05/0.8147, allocations: 36.19 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.8147, allocations: 2.469 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.005e-05/0.8148, allocations: 166.9 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.8148, allocations: 5.859 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.8148, allocations: 6 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.8149, allocations: 52.44 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.8149, allocations: 0 / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.8149, allocations: 9.516 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.8149, allocations: 0 / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.8151, allocations: 33.28 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.8153, allocations: 251.6 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.8155, allocations: 44.88 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.8155, allocations: 29.05 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.8156, allocations: 80.92 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.8156, allocations: 31.47 kB / 1.274 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8156, allocations: 0 / 1.274 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003042/0.8159, allocations: 81.42 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.816, allocations: 60.31 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.816, allocations: 102 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.816, allocations: 26.58 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.816, allocations: 83.84 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.8161, allocations: 8.891 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.8161, allocations: 12.28 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.8161, allocations: 316.3 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.8162, allocations: 22.19 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.8163, allocations: 15.89 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.8164, allocations: 41.34 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8164, allocations: 1 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.8166, allocations: 67.39 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8166, allocations: 5.062 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8166, allocations: 5.094 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8166, allocations: 0 / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.8167, allocations: 7.906 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.8167, allocations: 0.6094 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.8167, allocations: 6.047 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.8167, allocations: 0.75 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 3.844e-05/0.8167, allocations: 121 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.8168, allocations: 6.016 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.817, allocations: 68.08 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.817, allocations: 3.938 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.817, allocations: 8.781 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.817, allocations: 0 / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.8171, allocations: 158.1 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8171, allocations: 0 / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.8171, allocations: 16.88 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8171, allocations: 1.875 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.8171, allocations: 4.562 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8171, allocations: 0.75 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8171, allocations: 0.9062 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.8173, allocations: 162.3 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.8173, allocations: 84.38 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.8173, allocations: 0 / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.8174, allocations: 6.141 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.8174, allocations: 5.031 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.8174, allocations: 2.922 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.8175, allocations: 79.88 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8175, allocations: 0 / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002056/0.8177, allocations: 10.22 kB / 1.276 GB, free: 3.754 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 (2): * Single equations (assignments): 2 * 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.0003448/0.818, allocations: 0.7097 MB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.8182, allocations: 40.84 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8182, allocations: 4.094 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.8183, allocations: 18.98 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.8185, allocations: 15.77 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.8189, allocations: 142.8 kB / 1.277 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.975e-05/0.8189, allocations: 0.6768 MB / 1.278 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.819, allocations: 0.9375 kB / 1.278 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.819, allocations: 13.47 kB / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.819, allocations: 0 / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.8421, allocations: 1.4 MB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.748, allocations: 15.47 kB / 1.279 GB, free: 17.81 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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: 12.972727479000241]