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.008611/0.008612, allocations: 102.5 kB / 15.73 MB, free: 5.996 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.002136/0.002136, allocations: 187.3 kB / 16.67 MB, free: 5.93 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.524/2.524, allocations: 437.1 MB / 0.7106 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.89 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2782, allocations: 151.6 MB / 1.166 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002744/0.281, allocations: 1.441 MB / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.2818, allocations: 475.8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2818, allocations: 4 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.2819, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.2819, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2821, allocations: 23.92 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.2822, allocations: 27.86 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.2823, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.2823, allocations: 15.97 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.2824, allocations: 11.94 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2824, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.2825, allocations: 31.91 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2825, allocations: 4 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.2825, allocations: 11.94 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2826, allocations: 32.11 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2827, allocations: 3.984 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2827, allocations: 0 / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2827, allocations: 0 / 1.168 GB, free: 5.309 MB / 0.92 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.0004197/0.2831, allocations: 343.4 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2831, allocations: 8.031 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.2832, allocations: 34.75 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2832, allocations: 8.891 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2833, allocations: 164.4 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2834, allocations: 4.312 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.2834, allocations: 4.375 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2835, allocations: 53.8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2836, allocations: 0 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.2836, allocations: 0 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2836, allocations: 0 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2838, allocations: 39.95 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.2841, allocations: 244.9 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2842, allocations: 42.48 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.2843, allocations: 28.84 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.2844, allocations: 81.11 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2845, allocations: 38.55 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2845, allocations: 3.938 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.2848, allocations: 77.61 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2849, allocations: 63.33 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.285, allocations: 102 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.285, allocations: 25.7 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.285, allocations: 84.14 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2851, allocations: 11.94 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.2851, allocations: 9.719 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2852, allocations: 318.8 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.2853, allocations: 15.98 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.2854, allocations: 15.98 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.2856, allocations: 44.81 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2856, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.2858, allocations: 65.66 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2858, allocations: 7.938 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2858, allocations: 8.094 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2858, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.2859, allocations: 4.25 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2859, allocations: 3.984 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.286, allocations: 8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-06/0.286, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 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.89e-05/0.2861, allocations: 117.7 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2861, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2863, allocations: 76.77 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2863, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2863, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2863, allocations: 3.984 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2865, allocations: 161.6 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2865, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.2866, allocations: 15.92 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2866, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2866, allocations: 4.031 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2866, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2866, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2869, allocations: 163.5 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2869, allocations: 85.05 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.287, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.287, allocations: 12.02 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2871, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2871, allocations: 3.938 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.2871, allocations: 83.27 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2871, allocations: 0 / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000216/0.2874, allocations: 8 kB / 1.171 GB, free: 2.305 MB / 0.92 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.0005903/0.288, allocations: 0.7045 MB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.2882, allocations: 39.95 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2882, allocations: 0 / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-05/0.2883, allocations: 24.02 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2886, allocations: 8 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.2889, allocations: 143 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2893, allocations: 0.6729 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.2893, allocations: 0 / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2893, allocations: 15.42 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.2893, allocations: 0 / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/1.514, allocations: 1.42 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.57, allocations: 8.719 kB / 1.174 GB, free: 15.27 MB / 0.9356 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=400 --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