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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 70.17 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2791, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002574/0.2817, allocations: 1.444 MB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.2825, allocations: 468.8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.2825, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2825, allocations: 7.922 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.2826, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.2828, allocations: 27.91 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.2829, allocations: 23.92 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.283, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.283, allocations: 7.938 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.2831, allocations: 11.98 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2831, allocations: 7.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.2831, allocations: 23.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.2832, allocations: 11.97 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.2832, allocations: 11.94 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.2833, allocations: 19.97 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2833, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.317e-06/0.2833, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2833, allocations: 3.938 kB / 1.066 GB, free: 12.11 MB / 0.8262 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.0004468/0.2838, allocations: 347.7 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2838, allocations: 12.03 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.2838, allocations: 38.73 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.2839, allocations: 8.875 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.284, allocations: 160.4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.284, allocations: 384 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.284, allocations: 4.375 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2842, allocations: 53.73 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2842, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.2842, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2843, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2844, allocations: 31.95 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.2848, allocations: 256.8 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2849, allocations: 38.5 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.285, allocations: 28.89 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.2851, allocations: 85.09 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2852, allocations: 30.56 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2852, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003384/0.2855, allocations: 81.64 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2856, allocations: 55.53 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.2857, allocations: 105.8 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.2857, allocations: 25.7 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.2857, allocations: 84.14 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.2858, allocations: 11.84 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2858, allocations: 9.719 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2859, allocations: 326.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.286, allocations: 20.23 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.2861, allocations: 15.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2863, allocations: 44.81 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2863, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.2865, allocations: 65.73 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.2865, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2865, allocations: 3.984 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2865, allocations: 3.938 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.2866, allocations: 11.98 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2866, allocations: 3.938 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.2867, allocations: 7.984 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.2867, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 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.827e-05/0.2868, allocations: 117.8 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.2868, allocations: 7.938 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.287, allocations: 68.78 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.287, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.287, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2871, allocations: 3.984 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2872, allocations: 157.6 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2872, allocations: 3.938 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.2873, allocations: 20.02 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2873, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2873, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2873, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2873, allocations: 3.938 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.2876, allocations: 159.5 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.2876, allocations: 85.14 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2876, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.2877, allocations: 11.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.2878, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2878, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.2878, allocations: 83.27 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2878, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002066/0.288, allocations: 8 kB / 1.069 GB, free: 9.105 MB / 0.8262 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.000585/0.2886, allocations: 0.7084 MB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2888, allocations: 35.95 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2888, allocations: 96 / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.2889, allocations: 19.98 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.2892, allocations: 13.44 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.2896, allocations: 135.1 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2899, allocations: 0.6768 MB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.2899, allocations: 12 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2899, allocations: 11.44 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.29, allocations: 0 / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.44/3.73, allocations: 1.383 MB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/16.3, allocations: 17.72 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB (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) 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) Reference file matches