Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008131/0.008131, allocations: 99.89 kB / 15.73 MB, free: 6.059 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.001596/0.001596, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.462/2.462, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9235, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003345/0.9269, allocations: 1.772 MB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.9282, allocations: 0.6592 MB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.9283, allocations: 0 / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/0.9284, allocations: 11.86 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.9285, allocations: 23.73 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.9291, allocations: 168.5 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.9293, allocations: 131.6 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.9295, allocations: 45.11 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.9296, allocations: 55.83 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.9297, allocations: 47.77 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.9297, allocations: 12 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.9299, allocations: 47.97 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.9299, allocations: 31.89 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.93, allocations: 59.66 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.9302, allocations: 144 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.9303, allocations: 0 / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9303, allocations: 0 / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9303, allocations: 4 kB / 1.17 GB, free: 0.6445 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006452/0.9309, allocations: 446.8 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.931, allocations: 8.922 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008244/0.9318, allocations: 112.7 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.932, allocations: 192.1 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.9321, allocations: 63.97 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.9321, allocations: 12.31 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.9326, allocations: 165.7 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.9327, allocations: 8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.9327, allocations: 8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9327, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.9333, allocations: 155.8 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.9344, allocations: 493.5 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.9354, allocations: 214.3 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.9357, allocations: 88.83 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.9357, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.9358, allocations: 38.56 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.9358, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.9368, allocations: 261.3 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.9368, allocations: 59.41 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.937, allocations: 136.1 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.937, allocations: 25.7 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.9371, allocations: 112.2 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.9371, allocations: 19.8 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.9372, allocations: 25.7 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9373, allocations: 322.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.9376, allocations: 75.86 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.9379, allocations: 98.47 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.9385, allocations: 162.4 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9385, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006871/0.9392, allocations: 205.4 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9393, allocations: 4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9393, allocations: 4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9393, allocations: 3.938 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.9396, allocations: 43.95 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9396, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.9398, allocations: 27.95 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.9398, allocations: 4 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001378/0.94, allocations: 113.8 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.94, allocations: 7.953 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.9408, allocations: 218.3 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9408, allocations: 64 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.9408, allocations: 11.98 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9408, allocations: 0 / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.9411, allocations: 230.4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9411, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.9413, allocations: 35.89 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9413, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.9414, allocations: 7.922 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9414, allocations: 0 / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9414, allocations: 0 / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.9421, allocations: 291.3 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.9421, allocations: 85.06 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.9422, allocations: 3.938 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.9425, allocations: 27.95 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.9425, allocations: 11.98 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.9425, allocations: 11.98 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.9426, allocations: 101.5 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9426, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002723/0.9429, allocations: 27.95 kB / 1.174 GB, free: 11.61 MB / 0.9044 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 (6): * Single equations (assignments): 6 * 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.0001236/0.943, allocations: 95.25 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.9437, allocations: 167.8 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9437, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.944, allocations: 83.91 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.9444, allocations: 16.06 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.9451, allocations: 255.2 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9455, allocations: 0.6963 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.9457, allocations: 19.98 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.9457, allocations: 15.44 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.9457, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.004448/0.9502, allocations: 1.47 MB / 1.177 GB, free: 8.754 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches