Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001204/0.001204, allocations: 76.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.001296/0.001296, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.894/0.894, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.658/1.658, allocations: 359 MB / 0.6044 GB, free: 11.1 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.778e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001662/0.00168, allocations: 1.475 MB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.00234, allocations: 0.5771 MB / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.002384, allocations: 0 / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.002406, allocations: 3.938 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.002443, allocations: 11.94 kB / 0.9538 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.00269, allocations: 59.75 kB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.705e-05/0.002777, allocations: 27.86 kB / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.002869, allocations: 11.98 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.002979, allocations: 27.84 kB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.003017, allocations: 4 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.00303, allocations: 4 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.003119, allocations: 59.88 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.003131, allocations: 7.984 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.003147, allocations: 11.94 kB / 0.954 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003271, allocations: 79.83 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003273, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003273, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003277, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 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.0002926/0.00357, allocations: 289.9 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.003607, allocations: 8.031 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.003709, allocations: 16.88 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.00383, allocations: 105.8 kB / 0.9544 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.003839, allocations: 8.375 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.003846, allocations: 4.375 kB / 0.9544 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.003935, allocations: 46.23 kB / 0.9545 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003943, allocations: 4.125 kB / 0.9545 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.003951, allocations: 4.375 kB / 0.9545 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003956, allocations: 3.938 kB / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.004005, allocations: 19.98 kB / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.004216, allocations: 200.6 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.004275, allocations: 26.58 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.004303, allocations: 20.91 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.004595, allocations: 87.88 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.004616, allocations: 50.42 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.004618, allocations: 3.984 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.00477, allocations: 61.69 kB / 0.955 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.004794, allocations: 51.41 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.004851, allocations: 109.8 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.004859, allocations: 25.7 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.004893, allocations: 92.12 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.004909, allocations: 7.891 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.004932, allocations: 17.72 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.005003, allocations: 314.8 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.005028, allocations: 12 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.005046, allocations: 16.05 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.005089, allocations: 20.86 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00509, allocations: 384 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.434e-05/0.005155, allocations: 57.62 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005166, allocations: 11.94 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00517, allocations: 0 / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.005179, allocations: 7.875 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.005221, allocations: 4 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.005225, allocations: 96 / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.005242, allocations: 15.98 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005247, allocations: 0 / 0.9557 GB, free: 14.73 MB / 0.9167 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 4.629e-05/0.005293, allocations: 113.8 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.005304, allocations: 3.938 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.94e-05/0.005403, allocations: 61.3 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005405, allocations: 0 / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005408, allocations: 0 / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005411, allocations: 4 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.005492, allocations: 105.3 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005493, allocations: 4.031 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.005508, allocations: 4 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.005511, allocations: 3.984 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.005517, allocations: 7.938 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005517, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005518, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.876e-05/0.005607, allocations: 155.4 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.005612, allocations: 0 / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.005624, allocations: 7.922 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.005653, allocations: 8.031 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.005677, allocations: 0 / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.00568, allocations: 4 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.00571, allocations: 91.27 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00571, allocations: 0 / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001481/0.005858, allocations: 15.94 kB / 0.9562 GB, free: 14.09 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 (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 Backend phase and start with SimCode phase: time 0.0001057/0.005964, allocations: 115.2 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.954e-05/0.006044, allocations: 27.92 kB / 0.9564 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006045, allocations: 4.062 kB / 0.9564 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.006068, allocations: 15.98 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.006214, allocations: 3.938 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.006442, allocations: 154.7 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.006481, allocations: 63.34 kB / 0.9566 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.006499, allocations: 8.5 kB / 0.9566 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.006499, allocations: 3.938 kB / 0.9566 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of Templates: time 0.001435/0.007934, allocations: 0.8659 MB / 0.9575 GB, free: 12.78 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.306653685867786]