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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000782/0.000782, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9238/0.9238, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.977e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002437/0.002467, allocations: 1.765 MB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000895/0.003362, allocations: 0.6931 MB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.003427, allocations: 0 / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.003461, allocations: 15.81 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.003514, allocations: 19.84 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.00397, allocations: 188.6 kB / 0.9543 GB, free: 276 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004119, allocations: 127.6 kB / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.004252, allocations: 41.58 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.004425, allocations: 91.73 kB / 0.9546 GB, free: 8 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.00451, allocations: 35.89 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.004532, allocations: 8 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.004622, allocations: 47.95 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.004649, allocations: 35.84 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.004686, allocations: 39.89 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.004888, allocations: 167.5 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004891, allocations: 0 / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004892, allocations: 7.938 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.004898, allocations: 4 kB / 0.9549 GB, free: 15.67 MB / 0.9167 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.0004552/0.005353, allocations: 373.5 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005392, allocations: 12.02 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.005896, allocations: 132.7 kB / 0.9554 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.006133, allocations: 144.1 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.847e-05/0.006232, allocations: 119.4 kB / 0.9557 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.006249, allocations: 8.375 kB / 0.9557 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.006573, allocations: 219.9 kB / 0.9559 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006582, allocations: 7.984 kB / 0.9559 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.006599, allocations: 0 / 0.9559 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006604, allocations: 7.938 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.006904, allocations: 151.8 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.007544, allocations: 401.7 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.008025, allocations: 210.3 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.008174, allocations: 80.89 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.008202, allocations: 4 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.008223, allocations: 30.56 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.008225, allocations: 3.984 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0005616/0.008787, allocations: 273.3 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.008822, allocations: 55.34 kB / 0.9571 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.008914, allocations: 141.2 kB / 0.9572 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.008933, allocations: 33.7 kB / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.008989, allocations: 112.2 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.009009, allocations: 19.78 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.009056, allocations: 29.7 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.009138, allocations: 322.8 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.009293, allocations: 71.91 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.009449, allocations: 94.5 kB / 0.9579 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.009742, allocations: 162.4 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009744, allocations: 0 / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003438/0.01009, allocations: 205.4 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.0101, allocations: 4 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01011, allocations: 0 / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01013, allocations: 7.938 kB / 0.9582 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01026, allocations: 44 kB / 0.9583 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01027, allocations: 4 kB / 0.9583 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.01035, allocations: 23.91 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01036, allocations: 4 kB / 0.9583 GB, free: 12 MB / 0.9167 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 8.325e-05/0.01045, allocations: 117.8 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01047, allocations: 7.953 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.01088, allocations: 202.3 kB / 0.9586 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.01089, allocations: 7.938 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01089, allocations: 0 / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.0109, allocations: 3.938 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.01107, allocations: 169.9 kB / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01107, allocations: 4 kB / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01117, allocations: 36.27 kB / 0.9588 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01117, allocations: 0 / 0.9588 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.01119, allocations: 8 kB / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01119, allocations: 7.984 kB / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.0112, allocations: 3.938 kB / 0.9588 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.01157, allocations: 279.4 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.01158, allocations: 15.88 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.0116, allocations: 0 / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.01173, allocations: 27.95 kB / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.01177, allocations: 15.92 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01178, allocations: 4 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.01184, allocations: 107.2 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01184, allocations: 4 kB / 0.9593 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001771/0.01201, allocations: 27.89 kB / 0.9593 GB, free: 10.91 MB / 0.9167 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.0001291/0.01214, allocations: 99.19 kB / 0.9594 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.01249, allocations: 159.8 kB / 0.9595 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01249, allocations: 0 / 0.9595 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01264, allocations: 87.84 kB / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01285, allocations: 8 kB / 0.9596 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.01358, allocations: 279.3 kB / 0.9599 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.01364, allocations: 93.47 kB / 0.96 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.0137, allocations: 16.5 kB / 0.96 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.0137, allocations: 0 / 0.96 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of Templates: time 0.002468/0.01617, allocations: 1.69 MB / 0.9616 GB, free: 8.438 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.481921296566725]