Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_10_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.001368/0.001368, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001455/0.001455, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001665, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.232, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003388/1.236, allocations: 1.44 MB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009614/1.237, allocations: 470.2 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/1.237, allocations: 0 / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/1.237, allocations: 3.984 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/1.237, allocations: 3.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/1.237, allocations: 31.91 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/1.237, allocations: 19.92 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.237, allocations: 8 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/1.237, allocations: 8 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/1.237, allocations: 11.92 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/1.237, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/1.238, allocations: 23.98 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/1.238, allocations: 11.91 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/1.238, allocations: 15.94 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/1.238, allocations: 35.84 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.238, allocations: 0 / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.455e-06/1.238, allocations: 0 / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.238, allocations: 0 / 1.169 GB, free: 1.789 MB / 0.8887 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.0005904/1.238, allocations: 347.3 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.238, allocations: 12.91 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/1.239, allocations: 0.9375 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.239, allocations: 168.3 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.239, allocations: 384 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/1.239, allocations: 4.375 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/1.239, allocations: 53.98 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.239, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.239, allocations: 3.938 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.239, allocations: 4 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/1.239, allocations: 35.89 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/1.24, allocations: 252.9 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.24, allocations: 34.56 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/1.24, allocations: 24.89 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/1.24, allocations: 85.09 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.24, allocations: 30.56 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 3.497e-06/1.24, allocations: 4 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/1.24, allocations: 85.58 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/1.24, allocations: 51.41 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/1.241, allocations: 105.8 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.241, allocations: 25.7 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/1.241, allocations: 84.14 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/1.241, allocations: 9.859 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/1.241, allocations: 13.72 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.241, allocations: 318.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/1.241, allocations: 15.98 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/1.241, allocations: 15.98 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/1.241, allocations: 48.81 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.241, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/1.241, allocations: 61.92 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.241, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/1.241, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.242, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.242, allocations: 15.98 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.242, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/1.242, allocations: 12.02 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.242, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 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 9.106e-05/1.242, allocations: 113.8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/1.242, allocations: 7.906 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/1.242, allocations: 72.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.242, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.242, allocations: 8.031 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/1.242, allocations: 81.09 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.242, allocations: 7.938 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/1.242, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/1.242, allocations: 7.922 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002563/1.243, allocations: 140.9 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002718/1.243, allocations: 242.8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.87e-05/1.243, allocations: 19.98 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.189e-05/1.243, allocations: 83.27 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/1.243, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005064/1.244, allocations: 103.5 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006133/1.244, allocations: 0.5608 MB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.003421/1.248, allocations: 0.6701 MB / 1.173 GB, free: 13.44 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches