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.0008537/0.0008537, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005065/0.005065, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 10.91 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001387/0.2345, allocations: 1.167 MB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.2352, allocations: 462.9 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.2352, allocations: 0 / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.2352, allocations: 3.938 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2353, allocations: 4 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.2355, allocations: 27.97 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.2355, allocations: 23.92 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.2356, allocations: 4 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.2357, allocations: 11.88 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.2357, allocations: 11.98 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.2357, allocations: 0 / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/0.2358, allocations: 15.98 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2358, allocations: 15.91 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.2358, allocations: 33.64 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.074e-05/0.2359, allocations: 19.97 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2359, allocations: 11.98 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2359, allocations: 0 / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.227e-06/0.236, allocations: 0 / 1.061 GB, free: 3.082 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.0003506/0.2363, allocations: 339.8 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2364, allocations: 11.97 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.2364, allocations: 34.69 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.2364, allocations: 8.844 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.2365, allocations: 168.3 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2365, allocations: 384 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.2366, allocations: 4.375 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2367, allocations: 57.8 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.2367, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2367, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2367, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2369, allocations: 51.89 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.2372, allocations: 260.8 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2373, allocations: 46.55 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.2374, allocations: 24.91 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.2375, allocations: 77.11 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.2376, allocations: 38.56 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2376, allocations: 0 / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004031/0.238, allocations: 101.5 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.238, allocations: 51.41 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2382, allocations: 110 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2382, allocations: 25.7 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.2382, allocations: 84.14 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2383, allocations: 11.84 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.2383, allocations: 9.719 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.2384, allocations: 322.8 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.2385, allocations: 23.98 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.2386, allocations: 19.98 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2387, allocations: 52.88 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2387, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.2389, allocations: 73.61 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.239, allocations: 4 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.239, allocations: 0 / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.239, allocations: 8.016 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.2391, allocations: 8 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2391, allocations: 4 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.2391, allocations: 8.234 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2392, allocations: 11.92 kB / 1.062 GB, free: 0.8164 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 6.674e-05/0.2392, allocations: 117.8 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.2393, allocations: 4 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2395, allocations: 76.78 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2395, allocations: 3.938 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2395, allocations: 3.984 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2395, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2397, allocations: 169.6 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2397, allocations: 0 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.2397, allocations: 11.98 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2397, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.2397, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2397, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2397, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.24, allocations: 179.4 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.24, allocations: 77.11 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.24, allocations: 7.938 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.2401, allocations: 11.98 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2401, allocations: 4.031 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2402, allocations: 0 / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.2402, allocations: 83.27 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2402, allocations: 3.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002073/0.2404, allocations: 12 kB / 1.063 GB, free: 15.97 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.0004948/0.2409, allocations: 0.7085 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2411, allocations: 51.98 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2411, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.2412, allocations: 23.92 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2415, allocations: 10.67 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.2419, allocations: 146.3 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.2421, allocations: 0.6809 MB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.2421, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.2422, allocations: 7.438 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.2422, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.493/1.735, allocations: 1.167 MB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/1.735, allocations: 204.5 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/3.332, allocations: 0 / 1.066 GB, free: 12.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