Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 188.3 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437 MB / 0.7101 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 75.88 kB / 0.8689 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5645, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002594/0.5672, allocations: 1.492 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.5679, allocations: 471.8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.568, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.568, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.5681, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.5683, allocations: 19.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.5684, allocations: 27.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.5685, allocations: 7.984 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.5685, allocations: 7.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.5686, allocations: 11.98 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.5686, allocations: 7.938 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.5687, allocations: 19.98 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.5687, allocations: 7.922 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.5687, allocations: 11.94 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.5688, allocations: 31.95 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5688, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5688, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5688, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 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.0003923/0.5692, allocations: 341.7 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5693, allocations: 12.03 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.5693, allocations: 38.73 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.5693, allocations: 8.781 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5695, allocations: 164.3 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.5695, allocations: 8.312 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.5695, allocations: 384 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5696, allocations: 53.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5697, allocations: 3.984 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5697, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5697, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.5698, allocations: 35.95 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.5702, allocations: 248.9 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5703, allocations: 46.44 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.5704, allocations: 24.89 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.5705, allocations: 85.11 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5705, allocations: 30.56 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5705, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003447/0.5709, allocations: 85.64 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5709, allocations: 59.34 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.571, allocations: 101.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.571, allocations: 25.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.5711, allocations: 88.14 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.5711, allocations: 3.906 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.5711, allocations: 17.72 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5712, allocations: 318.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.5713, allocations: 16.02 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.5714, allocations: 19.98 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5715, allocations: 40.81 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5715, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.5717, allocations: 61.73 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5717, allocations: 11.94 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5718, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5718, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.5719, allocations: 7.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5719, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.5719, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.5719, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 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 7.54e-05/0.572, allocations: 118.3 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.572, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.5723, allocations: 72.78 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5723, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.5724, allocations: 165.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5724, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.5725, allocations: 15.95 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5725, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.5725, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5725, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5725, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5728, allocations: 167.4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.5728, allocations: 81.14 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.5728, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.5729, allocations: 7.984 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.5729, allocations: 3.938 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5729, allocations: 4 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.573, allocations: 87.27 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.573, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002059/0.5732, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 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.0005089/0.5737, allocations: 0.7007 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.5739, allocations: 39.95 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5739, allocations: 4.094 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.574, allocations: 23.92 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.5743, allocations: 7.922 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.5747, allocations: 139.2 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.5749, allocations: 0.6768 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.5749, allocations: 4.062 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.575, allocations: 15.44 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.575, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7944/1.369, allocations: 1.262 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/1.37, allocations: 202.4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.93, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches