Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7611 GB, free: 11.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9455/0.9474, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003103/0.9505, allocations: 1.781 MB / 1.27 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.9518, allocations: 0.6638 MB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.9519, allocations: 0 / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.9519, allocations: 7.875 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.952, allocations: 27.78 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.9526, allocations: 171.6 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.9527, allocations: 119.6 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.9529, allocations: 46.91 kB / 1.271 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.953, allocations: 55.78 kB / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.9531, allocations: 51.75 kB / 1.272 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.9531, allocations: 12 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.9533, allocations: 43.97 kB / 1.272 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.9533, allocations: 27.91 kB / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.9534, allocations: 55.72 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.9536, allocations: 151.4 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9536, allocations: 0 / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9536, allocations: 0 / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9536, allocations: 4 kB / 1.272 GB, free: 1.941 MB / 0.9669 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.0006853/0.9543, allocations: 444.8 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9543, allocations: 12.03 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.9544, allocations: 34.75 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.9552, allocations: 112.7 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.9554, allocations: 196.1 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.9555, allocations: 63.97 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.9555, allocations: 8.312 kB / 1.273 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.9561, allocations: 173.4 kB / 1.273 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9561, allocations: 4 kB / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.9561, allocations: 4 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9561, allocations: 0 / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.9567, allocations: 159.8 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.9578, allocations: 486 kB / 1.273 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.9588, allocations: 218.3 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.9591, allocations: 76.91 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.9591, allocations: 4 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.9591, allocations: 34.56 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.9592, allocations: 0 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.00102/0.9602, allocations: 265.3 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.9602, allocations: 55.41 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.9604, allocations: 135.5 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.9604, allocations: 29.7 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.9605, allocations: 112.1 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.9605, allocations: 27.78 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.9606, allocations: 25.7 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9607, allocations: 318.8 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.961, allocations: 75.91 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.9613, allocations: 90.5 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.9619, allocations: 166.4 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9619, allocations: 0 / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006393/0.9625, allocations: 201.4 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9625, allocations: 4 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9625, allocations: 7.938 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9625, allocations: 0 / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.9628, allocations: 44 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9628, allocations: 0 / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.963, allocations: 27.91 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.963, allocations: 4.312 kB / 1.275 GB, free: 14.14 MB / 0.9825 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.0001276/0.9631, allocations: 118.7 kB / 1.275 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.9632, allocations: 15.89 kB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.9639, allocations: 214.1 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9639, allocations: 0 / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9639, allocations: 4 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9639, allocations: 0 / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.9643, allocations: 242.2 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9643, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.9645, allocations: 35.94 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9645, allocations: 0 / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.9645, allocations: 3.938 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9645, allocations: 3.938 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9645, allocations: 0 / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.9652, allocations: 283.3 kB / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.9652, allocations: 85.06 kB / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.9652, allocations: 11.92 kB / 1.276 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.9655, allocations: 31.95 kB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.9656, allocations: 7.984 kB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.9656, allocations: 7.984 kB / 1.276 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.933e-05/0.9657, allocations: 105.2 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9657, allocations: 0 / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002792/0.966, allocations: 27.95 kB / 1.276 GB, free: 12.86 MB / 0.9825 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.00106/0.967, allocations: 0.8182 MB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006315/0.9677, allocations: 163.8 kB / 1.277 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9677, allocations: 3.938 kB / 1.277 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.968, allocations: 80.22 kB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.9683, allocations: 12 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.9718, allocations: 1.832 MB / 1.279 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.9722, allocations: 0.7079 MB / 1.28 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.9723, allocations: 19.98 kB / 1.28 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.9724, allocations: 31.42 kB / 1.28 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.9724, allocations: 3.938 kB / 1.28 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.9995, allocations: 2.762 MB / 1.283 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/9.226, allocations: 5.75 kB / 1.283 GB, free: 6.367 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.40727135213092]