Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_latest_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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00143/0.00143, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 68.3 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2877, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002598/0.2903, allocations: 1.495 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007555/0.2911, allocations: 478.9 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.2911, allocations: 0 / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.2912, allocations: 3.938 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.2913, allocations: 0 / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2914, allocations: 19.98 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.2915, allocations: 23.94 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.2916, allocations: 11.91 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.2917, allocations: 23.86 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.2917, allocations: 11.92 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2917, allocations: 4 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.2918, allocations: 19.98 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2918, allocations: 0 / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.2918, allocations: 15.92 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.2919, allocations: 27.89 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.292, allocations: 0 / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.32e-07/0.292, allocations: 0 / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.292, allocations: 0 / 1.054 GB, free: 6.035 MB / 0.8106 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.0004144/0.2924, allocations: 347.7 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2924, allocations: 11.97 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.2925, allocations: 34.69 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.2925, allocations: 4.938 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2926, allocations: 164.4 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2926, allocations: 4.375 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.2926, allocations: 384 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2928, allocations: 53.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2928, allocations: 4 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.2929, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2929, allocations: 8 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.293, allocations: 27.97 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.2933, allocations: 260.8 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2935, allocations: 38.56 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.2936, allocations: 24.89 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.2937, allocations: 81.11 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2937, allocations: 30.56 kB / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2937, allocations: 0 / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.2941, allocations: 89.58 kB / 1.055 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2941, allocations: 51.41 kB / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.2942, allocations: 105.8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2942, allocations: 25.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.2943, allocations: 80.14 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2943, allocations: 11.84 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2943, allocations: 13.72 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.2944, allocations: 322.9 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.2945, allocations: 23.92 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.2946, allocations: 11.98 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2947, allocations: 36.83 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2947, allocations: 3.984 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.2949, allocations: 73.67 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.295, allocations: 4 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.295, allocations: 3.938 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.295, allocations: 0 / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.2951, allocations: 11.98 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2951, allocations: 0 / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.2951, allocations: 7.984 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2951, allocations: 0 / 1.056 GB, free: 3.852 MB / 0.8106 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.679e-05/0.2952, allocations: 117.8 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.2953, allocations: 0 / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.2955, allocations: 76.72 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2955, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2955, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2955, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2957, allocations: 165.5 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2957, allocations: 4.031 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.2957, allocations: 11.98 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2957, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.2958, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2958, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2958, allocations: 256 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.296, allocations: 167.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.296, allocations: 77.11 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2961, allocations: 8 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.2962, allocations: 7.984 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2962, allocations: 3.984 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2962, allocations: 3.938 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.2962, allocations: 83.28 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0 / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002199/0.2965, allocations: 15.98 kB / 1.057 GB, free: 3.027 MB / 0.8106 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.0005188/0.297, allocations: 0.7007 MB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2972, allocations: 43.94 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2972, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.2973, allocations: 27.91 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2976, allocations: 4 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.298, allocations: 136.9 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2982, allocations: 0.6811 MB / 1.058 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.2983, allocations: 7.984 kB / 1.058 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2983, allocations: 7.438 kB / 1.058 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.2983, allocations: 3.938 kB / 1.058 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.3091, allocations: 1.21 MB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.3093, allocations: 203 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.987, allocations: 2.25 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches