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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 111.4 kB / 16.42 MB, free: 6.488 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.001516/0.001516, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 64.12 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 159.1 MB / 1.221 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003462/1.052, allocations: 1.442 MB / 1.222 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/1.053, allocations: 462.9 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/1.053, allocations: 0 / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/1.053, allocations: 3.938 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/1.053, allocations: 15.86 kB / 1.223 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/1.054, allocations: 19.98 kB / 1.223 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.381e-05/1.054, allocations: 31.92 kB / 1.223 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/1.054, allocations: 0 / 1.223 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/1.054, allocations: 15.92 kB / 1.223 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/1.054, allocations: 11.94 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/1.054, allocations: 4 kB / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/1.054, allocations: 23.95 kB / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/1.054, allocations: 4 kB / 1.223 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/1.054, allocations: 7.938 kB / 1.223 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/1.054, allocations: 31.89 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.054, allocations: 0 / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.033e-06/1.054, allocations: 4 kB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.054, allocations: 0 / 1.223 GB, free: 320 kB / 0.9356 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.0005876/1.055, allocations: 347.3 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.055, allocations: 12.56 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/1.055, allocations: 4.938 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.055, allocations: 168.3 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.055, allocations: 384 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/1.055, allocations: 4.375 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/1.055, allocations: 53.98 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.055, allocations: 4 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.056, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.056, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/1.056, allocations: 35.95 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/1.056, allocations: 252.9 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/1.056, allocations: 42.55 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/1.056, allocations: 20.91 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/1.057, allocations: 81.11 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.057, allocations: 34.55 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/1.057, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000403/1.057, allocations: 85.59 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.057, allocations: 51.41 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/1.057, allocations: 101.8 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.057, allocations: 29.7 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/1.057, allocations: 80.14 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.057, allocations: 9.734 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/1.057, allocations: 17.7 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.058, allocations: 319 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/1.058, allocations: 11.98 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/1.058, allocations: 15.98 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.058, allocations: 40.81 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.058, allocations: 7.938 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000206/1.058, allocations: 77.5 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.058, allocations: 4 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.058, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.058, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.058, allocations: 12.25 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.058, allocations: 0 / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/1.058, allocations: 11.98 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.058, allocations: 4.031 kB / 1.225 GB, free: 14.17 MB / 0.9512 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 8.618e-05/1.058, allocations: 113.8 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/1.059, allocations: 0 / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.059, allocations: 80.7 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.059, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.059, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/1.059, allocations: 77.11 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/1.059, allocations: 7.969 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/1.059, allocations: 7.984 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.059, allocations: 7.938 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002687/1.059, allocations: 148.9 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002914/1.06, allocations: 242.7 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.822e-05/1.06, allocations: 19.97 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.112e-05/1.06, allocations: 83.28 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of Backend: time 5.71e-07/1.06, allocations: 0 / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005396/1.06, allocations: 106.4 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000672/1.061, allocations: 0.5531 MB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.003476/1.064, allocations: 0.6672 MB / 1.227 GB, free: 11.96 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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