Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009268/0.0009268, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009545/0.0009545, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9809/0.9809, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.88/1.88, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.179e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001237/0.001269, allocations: 0.6407 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.00178, allocations: 327.3 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.00181, allocations: 0 / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.001827, allocations: 0 / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.001857, allocations: 3.938 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.002261, allocations: 113.6 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.002324, allocations: 23.92 kB / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.002366, allocations: 9.391 kB / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.002425, allocations: 15.97 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.002475, allocations: 8 kB / 0.7883 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002491, allocations: 0 / 0.7883 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.002753, allocations: 260.6 kB / 0.7885 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.002772, allocations: 15.92 kB / 0.7885 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.002793, allocations: 4 kB / 0.7885 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.002981, allocations: 133.2 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002983, allocations: 0 / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002984, allocations: 0 / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002988, allocations: 0 / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000382/0.00337, allocations: 392.9 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.003409, allocations: 9.656 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/0.003503, allocations: 8.891 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.003593, allocations: 108.6 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.003606, allocations: 4.375 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.003628, allocations: 4.375 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003751, allocations: 102.5 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.003764, allocations: 8.125 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003774, allocations: 1.031 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.003783, allocations: 4.312 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.00382, allocations: 21.3 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.003963, allocations: 128.5 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.004058, allocations: 61.02 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.00409, allocations: 27.67 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.004417, allocations: 82.17 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.004439, allocations: 33.39 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.004441, allocations: 3.938 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008913/0.005332, allocations: 451.5 kB / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.00536, allocations: 51.41 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.005432, allocations: 161.9 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005443, allocations: 25.7 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.005477, allocations: 131.8 kB / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.005513, allocations: 51.56 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.005549, allocations: 28.62 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005656, allocations: 0.4884 MB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.005682, allocations: 16 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.005707, allocations: 17.14 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.005772, allocations: 53.23 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005772, allocations: 0 / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001218/0.005894, allocations: 98.02 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.005907, allocations: 4 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005912, allocations: 0 / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.005925, allocations: 3.938 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.006006, allocations: 25.73 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006011, allocations: 0 / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.006026, allocations: 11.94 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.006032, allocations: 4 kB / 0.7912 GB, free: 8.398 MB / 0.7448 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 (13): * Single equations (assignments): 13 * 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 6.722e-05/0.0061, allocations: 165.4 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.006123, allocations: 7.953 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.006253, allocations: 95.34 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006255, allocations: 3.938 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.006259, allocations: 0 / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006262, allocations: 4 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.00654, allocations: 338.4 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006542, allocations: 0 / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.006613, allocations: 24 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.006616, allocations: 7.375 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006623, allocations: 0 / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.006625, allocations: 3.984 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006626, allocations: 0 / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.00682, allocations: 268 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.00684, allocations: 3.984 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006855, allocations: 11.94 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.006894, allocations: 0 / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.006913, allocations: 7.984 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.006919, allocations: 8.5 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.00695, allocations: 121.1 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00695, allocations: 0 / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001918/0.007142, allocations: 47.92 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001788/0.007321, allocations: 143.1 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007433, allocations: 62 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007434, allocations: 0 / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.007467, allocations: 39.61 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.007627, allocations: 9.875 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.007926, allocations: 181.8 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.007961, allocations: 56.27 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.008004, allocations: 16.86 kB / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.008028, allocations: 13.78 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.008029, allocations: 0 / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.003277/0.01131, allocations: 1.431 MB / 0.7941 GB, free: 5.273 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.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.179303203942254]