Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001256/0.001256, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002972, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001172/0.001172, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002636, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9724/0.9724, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1217/1.094, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.924/1.924, allocations: 378.2 MB / 0.6076 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5118/2.436, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.287e-05, allocations: 6.906 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001264/0.001287, allocations: 0.6651 MB / 0.73 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.001495, allocations: 153.2 kB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.001511, allocations: 0 / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.791e-06/0.001517, allocations: 3.938 kB / 0.7302 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.001524, allocations: 1.156 kB / 0.7302 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.00169, allocations: 41.05 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.001748, allocations: 13.95 kB / 0.7303 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.00179, allocations: 0 / 0.7303 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.001848, allocations: 14.48 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.00193, allocations: 7.984 kB / 0.7303 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.001948, allocations: 2.094 kB / 0.7303 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.002063, allocations: 39.95 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.002079, allocations: 5.719 kB / 0.7303 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.002096, allocations: 4 kB / 0.7303 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.002219, allocations: 22.47 kB / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.542e-05/0.002235, allocations: 0 / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002236, allocations: 4.812 kB / 0.7303 GB, free: 3.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.002249, allocations: 0 / 0.7303 GB, free: 3.543 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000307/0.002556, allocations: 246.7 kB / 0.7306 GB, free: 3.277 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.002598, allocations: 8.031 kB / 0.7306 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.002633, allocations: 4.938 kB / 0.7306 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.002716, allocations: 102.3 kB / 0.7307 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.002726, allocations: 4.375 kB / 0.7307 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.002748, allocations: 5.656 kB / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/0.002836, allocations: 68.59 kB / 0.7308 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.002842, allocations: 192 / 0.7308 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00285, allocations: 5.625 kB / 0.7308 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.002855, allocations: 4.375 kB / 0.7308 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.002882, allocations: 11.94 kB / 0.7308 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.659e-05/0.002969, allocations: 64.97 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.003068, allocations: 41.72 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.003096, allocations: 12.84 kB / 0.7309 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.003404, allocations: 58.2 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.003425, allocations: 32 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.003427, allocations: 0 / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0009035/0.00433, allocations: 485.1 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.004371, allocations: 55.41 kB / 0.7315 GB, free: 2.191 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.004418, allocations: 100.5 kB / 0.7316 GB, free: 2.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.004427, allocations: 25.7 kB / 0.7316 GB, free: 2.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.844e-05/0.004446, allocations: 84.14 kB / 0.7317 GB, free: 1.965 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.004472, allocations: 25 kB / 0.7317 GB, free: 1.941 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.004755, allocations: 25.69 kB / 0.7318 GB, free: 1.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.004839, allocations: 314.8 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.004854, allocations: 13.67 kB / 0.7321 GB, free: 1.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.004867, allocations: 8 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.004908, allocations: 25.38 kB / 0.7321 GB, free: 1.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00491, allocations: 0.75 kB / 0.7321 GB, free: 1.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.981e-05/0.004969, allocations: 57.62 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.004986, allocations: 4.531 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004991, allocations: 4 kB / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.004999, allocations: 1.969 kB / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.005057, allocations: 15.98 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.00506, allocations: 1.062 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.005074, allocations: 3.938 kB / 0.7322 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.00508, allocations: 7.984 kB / 0.7322 GB, free: 1.449 MB / 0.698 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 (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 5.026e-05/0.00513, allocations: 111.1 kB / 0.7323 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.005142, allocations: 11.92 kB / 0.7323 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.005243, allocations: 62.3 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005245, allocations: 4.75 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005247, allocations: 0 / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005249, allocations: 1.422 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.972e-05/0.005319, allocations: 74.58 kB / 0.7324 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.005322, allocations: 3.984 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.005367, allocations: 14.12 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.005373, allocations: 4 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005374, allocations: 0 / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.00538, allocations: 0 / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.005382, allocations: 3.984 kB / 0.7325 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005383, allocations: 1.344 kB / 0.7325 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.005485, allocations: 101 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.005496, allocations: 4 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.005512, allocations: 1.594 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.005525, allocations: 7.984 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005529, allocations: 0.6562 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.498e-06/0.005538, allocations: 4.859 kB / 0.7326 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005539, allocations: 3.25 kB / 0.7326 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001215/0.00566, allocations: 31.94 kB / 0.7326 GB, free: 0.9648 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001778/0.005838, allocations: 125 kB / 0.7327 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.00592, allocations: 37.3 kB / 0.7328 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.005925, allocations: 0 / 0.7328 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.005943, allocations: 20.8 kB / 0.7328 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.384e-05/0.006017, allocations: 11.92 kB / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.006299, allocations: 135.7 kB / 0.7329 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.842e-05/0.006327, allocations: 60.11 kB / 0.733 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.006354, allocations: 4 kB / 0.733 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.006396, allocations: 59.36 kB / 0.7331 GB, free: 476 kB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.006396, allocations: 0 / 0.7331 GB, free: 476 kB / 0.698 GB Notification: Performance of Templates: time 0.002827/0.009224, allocations: 0.9915 MB / 0.734 GB, free: 15.52 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.089029942639172]