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.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.001847/0.001847, allocations: 101.9 kB / 19.73 MB, free: 2.113 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.001841/0.001841, allocations: 222.5 kB / 23.03 MB, free: 4.91 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.775/2.775, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.002062/0.002062, allocations: 67.69 kB / 1.118 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 169.9 MB / 1.284 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002939/0.3319, allocations: 1.46 MB / 1.286 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.3329, allocations: 468.3 kB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.3329, allocations: 8 kB / 1.286 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.333, allocations: 7.922 kB / 1.286 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.333, allocations: 3.938 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3333, allocations: 19.98 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.3334, allocations: 27.91 kB / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3335, allocations: 4 kB / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.3335, allocations: 11.94 kB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.3336, allocations: 15.92 kB / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3336, allocations: 0 / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.3337, allocations: 11.98 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.3337, allocations: 12 kB / 1.286 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3337, allocations: 7.938 kB / 1.286 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3338, allocations: 36.11 kB / 1.286 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3339, allocations: 3.984 kB / 1.286 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3339, allocations: 0 / 1.286 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3339, allocations: 3.938 kB / 1.286 GB, free: 1.262 MB / 0.9825 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.0004777/0.3343, allocations: 266.3 kB / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3344, allocations: 8.031 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.3344, allocations: 192 / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.3344, allocations: 30.75 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.3344, allocations: 12.94 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3346, allocations: 114.4 kB / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.3346, allocations: 384 / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3346, allocations: 384 / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3348, allocations: 53.61 kB / 1.287 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3348, allocations: 0 / 1.287 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3348, allocations: 0 / 1.287 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3348, allocations: 0 / 1.287 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.335, allocations: 35.95 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.3353, allocations: 219.9 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3355, allocations: 42.66 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3356, allocations: 20.84 kB / 1.287 GB, free: 360 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3357, allocations: 7.984 kB / 1.287 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3357, allocations: 30.56 kB / 1.287 GB, free: 312 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3357, allocations: 3.938 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.3361, allocations: 89.58 kB / 1.287 GB, free: 212 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3361, allocations: 51.41 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.3362, allocations: 101.9 kB / 1.287 GB, free: 36 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3362, allocations: 25.7 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.3363, allocations: 84.14 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3363, allocations: 15.88 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3364, allocations: 9.719 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3365, allocations: 318.8 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.3366, allocations: 20.11 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.3367, allocations: 19.97 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3368, allocations: 37.08 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3368, allocations: 0 / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.337, allocations: 77.55 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.337, allocations: 10.28 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.337, allocations: 4 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.337, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.3371, allocations: 7.984 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3371, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3372, allocations: 4 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3372, allocations: 4 kB / 1.288 GB, free: 15.38 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 8.338e-05/0.3373, allocations: 109.8 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3373, allocations: 0 / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3375, allocations: 84.89 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3375, allocations: 3.938 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3375, allocations: 0 / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3375, allocations: 0 / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3377, allocations: 136.7 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3377, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.3378, allocations: 4 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3378, allocations: 7.969 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3378, allocations: 4 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3378, allocations: 4.031 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3378, allocations: 0 / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.338, allocations: 163.5 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.338, allocations: 7.891 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3381, allocations: 4 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3381, allocations: 4 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3382, allocations: 7.984 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3382, allocations: 0 / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.3382, allocations: 83.31 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3382, allocations: 3.938 kB / 1.288 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002262/0.3384, allocations: 8 kB / 1.288 GB, free: 14.68 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.0005719/0.339, allocations: 0.6967 MB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.3392, allocations: 39.97 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3392, allocations: 4.094 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.3393, allocations: 27.91 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3396, allocations: 4 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3401, allocations: 143.1 kB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.59e-05/0.3401, allocations: 59.34 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.3401, allocations: 3.984 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.3402, allocations: 11.44 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3402, allocations: 4.062 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.3614, allocations: 1.617 MB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.94, allocations: 12.09 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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: 18.543553975992836]