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.00104/0.00104, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009726/0.0009726, allocations: 165 kB / 23.82 MB, free: 0.75 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.9497/0.9497, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.681/1.681, allocations: 359 MB / 0.6052 GB, free: 11 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.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.552e-06/1.552e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.389e-05, allocations: 3.875 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00142/0.001444, allocations: 0.6351 MB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.002025, allocations: 324.2 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.002048, allocations: 0.5625 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.002068, allocations: 0 / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.002099, allocations: 5.188 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006467/0.008565, allocations: 125.1 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.008626, allocations: 19.97 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.008661, allocations: 4 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.008714, allocations: 17.14 kB / 0.7883 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.008763, allocations: 7.984 kB / 0.7883 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.008779, allocations: 4 kB / 0.7883 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.009098, allocations: 259.6 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.009114, allocations: 4.703 kB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.009139, allocations: 11.94 kB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.009334, allocations: 132.5 kB / 0.7887 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.009336, allocations: 0 / 0.7887 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.009337, allocations: 0.6562 kB / 0.7887 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.009341, allocations: 0 / 0.7887 GB, free: 10.92 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.0003803/0.009722, allocations: 393.9 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.009758, allocations: 8.031 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.009842, allocations: 12.89 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.009925, allocations: 104.6 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.009937, allocations: 5.406 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.009959, allocations: 8.375 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.01007, allocations: 104.8 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01009, allocations: 4.172 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.0101, allocations: 384 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.0101, allocations: 4.375 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.01014, allocations: 23.86 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.01028, allocations: 120.6 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.01038, allocations: 55.05 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.01042, allocations: 31.91 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.01077, allocations: 79.92 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.0108, allocations: 45.38 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.0108, allocations: 0 / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.004101/0.0149, allocations: 457.8 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.01493, allocations: 57.09 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.01501, allocations: 157.9 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.01503, allocations: 29.7 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.01507, allocations: 126.9 kB / 0.7904 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.01511, allocations: 40.55 kB / 0.7904 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.01516, allocations: 31.38 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.0153, allocations: 0.4923 MB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.01534, allocations: 8.531 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.01537, allocations: 20.52 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.01546, allocations: 51.67 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01546, allocations: 1.156 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001618/0.01562, allocations: 95.45 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01564, allocations: 8 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01564, allocations: 0.5312 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01566, allocations: 4.469 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01576, allocations: 21.36 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01577, allocations: 4 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.01579, allocations: 0 / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.0158, allocations: 0 / 0.7912 GB, free: 8.102 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 8.021e-05/0.01588, allocations: 165.7 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.01591, allocations: 15.95 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.01609, allocations: 97.7 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01609, allocations: 8.875 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01609, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.0161, allocations: 0.8125 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.01647, allocations: 345.3 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01647, allocations: 0.9375 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01658, allocations: 16 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01658, allocations: 3.938 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.0166, allocations: 13.33 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.0166, allocations: 4 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.0166, allocations: 0 / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.01715, allocations: 252.7 kB / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.01718, allocations: 7.984 kB / 0.792 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.0172, allocations: 10.25 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.01727, allocations: 4 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.01729, allocations: 3.984 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.0173, allocations: 7.938 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.01735, allocations: 131.2 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01735, allocations: 0 / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003036/0.01766, allocations: 43.88 kB / 0.7922 GB, free: 6.926 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.0002337/0.01789, allocations: 142.6 kB / 0.7924 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01805, allocations: 63.59 kB / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01805, allocations: 0 / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.0181, allocations: 39.98 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01834, allocations: 13.81 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.01869, allocations: 177.9 kB / 0.7927 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.01874, allocations: 63.34 kB / 0.7927 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.01879, allocations: 9.719 kB / 0.7927 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.01882, allocations: 17.06 kB / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01882, allocations: 5.344 kB / 0.7927 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.004593/0.02341, allocations: 1.58 MB / 0.7943 GB, free: 4.812 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: 4.8336720848456025]