Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001035/0.001035, 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.001016/0.001016, allocations: 173 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.9414/0.9414, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.747/1.747, allocations: 359 MB / 0.6055 GB, free: 10.98 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.549e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009308/0.0009463, allocations: 0.612 MB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006362/0.001583, allocations: 320.6 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.001615, allocations: 0 / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.001634, allocations: 0.5625 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.001657, allocations: 3.938 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.002125, allocations: 109.3 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.002187, allocations: 8.594 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.002227, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.002261, allocations: 16.56 kB / 0.7882 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.002316, allocations: 1.594 kB / 0.7882 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.002331, allocations: 4 kB / 0.7882 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.002612, allocations: 251.6 kB / 0.7884 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.002629, allocations: 4 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.002648, allocations: 4 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.002831, allocations: 125.1 kB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.002835, allocations: 0 / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002836, allocations: 0 / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00284, allocations: 3.938 kB / 0.7886 GB, free: 11.29 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003367/0.003177, allocations: 369.7 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.003217, allocations: 12.03 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.003309, allocations: 4.938 kB / 0.7889 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.101e-05/0.0034, allocations: 109 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.003411, allocations: 3.812 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.003436, allocations: 12.33 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.003531, allocations: 59.95 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.003538, allocations: 192 / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003547, allocations: 384 / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.003556, allocations: 384 / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.003571, allocations: 3.938 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.003697, allocations: 112.6 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.003741, allocations: 35.7 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.00376, allocations: 20.28 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.004133, allocations: 78.52 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.00416, allocations: 34.52 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004161, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004693/0.004631, allocations: 178.6 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.00466, allocations: 52.09 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.004734, allocations: 159.1 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.004745, allocations: 25.7 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.004779, allocations: 130.9 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.004805, allocations: 16.58 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.004835, allocations: 23.38 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004946, allocations: 493.4 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.004963, allocations: 7.938 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.004987, allocations: 23.36 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.005027, allocations: 33.53 kB / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.005028, allocations: 0 / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.00512, allocations: 53.62 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005134, allocations: 4 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005139, allocations: 2.781 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.005154, allocations: 4 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.005211, allocations: 4 kB / 0.7905 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.005219, allocations: 3.938 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.005231, allocations: 0 / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005236, allocations: 4 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.693e-05/0.005303, allocations: 166 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.005325, allocations: 8.094 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.005437, allocations: 61.23 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00544, allocations: 0.5 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.005443, allocations: 0.5625 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.005448, allocations: 3.938 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.157e-05/0.00552, allocations: 122 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005521, allocations: 0 / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.005564, allocations: 4 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005566, allocations: 0.625 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005572, allocations: 4 kB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.005573, allocations: 1.969 kB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005574, allocations: 0 / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.005691, allocations: 88.31 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.005698, allocations: 3.984 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.005709, allocations: 8 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.00573, allocations: 4.5 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.005745, allocations: 1.125 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.005749, allocations: 0 / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.00578, allocations: 127.1 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00578, allocations: 0.9062 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001605/0.005941, allocations: 27.92 kB / 0.7912 GB, free: 8.324 MB / 0.7448 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 (3): * Single equations (assignments): 3 * 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.0001808/0.006121, allocations: 128 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.006208, allocations: 20.59 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.00621, allocations: 7.938 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.006224, allocations: 16.61 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.006342, allocations: 4 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.006587, allocations: 115.4 kB / 0.7914 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.006618, allocations: 55.36 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.006645, allocations: 5.109 kB / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.006665, allocations: 17.62 kB / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.006666, allocations: 0 / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.003111/0.009777, allocations: 0.9025 MB / 0.7924 GB, free: 7.02 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.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.18598101194948]