Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_9_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.00126/0.00126, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001249/0.001249, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.447/1.447, 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 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9962/0.9978, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00262/1, allocations: 1.442 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008169/1.001, allocations: 469.9 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/1.001, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/1.001, allocations: 4.594 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/1.002, allocations: 10.11 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/1.002, allocations: 23.31 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/1.002, allocations: 25.5 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/1.002, allocations: 8.359 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/1.002, allocations: 17.64 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/1.002, allocations: 9.891 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/1.002, allocations: 2.562 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/1.002, allocations: 22.27 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/1.002, allocations: 1.938 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/1.002, allocations: 15.5 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/1.002, allocations: 34.02 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.002, allocations: 1.328 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/1.002, allocations: 0 / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/1.002, allocations: 0.75 kB / 1.091 GB, free: 4.117 MB / 0.8575 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.0004509/1.003, allocations: 350.1 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.003, allocations: 8.75 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/1.003, allocations: 2 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/1.003, allocations: 168.6 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/1.003, allocations: 4.375 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/1.003, allocations: 1.656 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/1.003, allocations: 53.42 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/1.003, allocations: 0 / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/1.003, allocations: 1.062 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.003, allocations: 4.453 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/1.003, allocations: 33.66 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/1.004, allocations: 262.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/1.004, allocations: 37.52 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/1.004, allocations: 19.64 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/1.004, allocations: 82.05 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/1.004, allocations: 36.42 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.004, allocations: 0 / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/1.005, allocations: 85.56 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/1.005, allocations: 51.41 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/1.005, allocations: 102.2 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.005, allocations: 31.05 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/1.005, allocations: 90.38 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/1.005, allocations: 6.297 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/1.005, allocations: 12.95 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/1.005, allocations: 317.3 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/1.005, allocations: 14.78 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/1.005, allocations: 17.27 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/1.005, allocations: 41.66 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.005, allocations: 5.312 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/1.005, allocations: 67.62 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.005, allocations: 5.375 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.005, allocations: 0.5156 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.005, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.006, allocations: 13.67 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.006, allocations: 4.031 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/1.006, allocations: 6.906 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.006, allocations: 1.031 kB / 1.092 GB, free: 2.305 MB / 0.8575 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 5.539e-05/1.006, allocations: 115.5 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/1.006, allocations: 2.891 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/1.006, allocations: 78.7 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.006, allocations: 5.859 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/1.006, allocations: 3.938 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/1.006, allocations: 79.03 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.006, allocations: 1.125 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/1.006, allocations: 6.406 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.006, allocations: 5.688 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002439/1.006, allocations: 148.1 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002325/1.007, allocations: 237.8 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.664e-05/1.007, allocations: 20.81 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.537e-05/1.007, allocations: 80.36 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of Backend: time 6.81e-07/1.007, allocations: 4.062 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004666/1.007, allocations: 102.6 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004027/1.008, allocations: 0.5565 MB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of Templates: time 0.003584/1.011, allocations: 0.6662 MB / 1.095 GB, free: 0.8789 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches