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.001119/0.001119, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001256/0.001256, allocations: 165.7 kB / 24.87 MB, free: 8.883 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.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.703/1.703, allocations: 359 MB / 0.6063 GB, free: 10.92 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.763e-06/1.763e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.918e-05, allocations: 3.188 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001298/0.001317, allocations: 0.6422 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000554/0.001871, allocations: 315.4 kB / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.001898, allocations: 1.219 kB / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.001915, allocations: 0 / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.32e-05/0.001948, allocations: 3.938 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.002374, allocations: 117.6 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.002439, allocations: 23.91 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.002479, allocations: 4 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.00254, allocations: 12.83 kB / 0.7895 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.002604, allocations: 15.91 kB / 0.7895 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.002621, allocations: 4.562 kB / 0.7895 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.002894, allocations: 260.3 kB / 0.7897 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.002911, allocations: 0 / 0.7897 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.002934, allocations: 16.88 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.003138, allocations: 131.6 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003141, allocations: 0 / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003143, allocations: 0.6562 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003148, allocations: 0 / 0.7899 GB, free: 10.64 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.0003687/0.003516, allocations: 386 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.003558, allocations: 8.031 kB / 0.7902 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.003651, allocations: 12.89 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.00375, allocations: 105.5 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.003766, allocations: 8.375 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.003787, allocations: 4.375 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.003909, allocations: 109 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.003924, allocations: 8.078 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.003934, allocations: 384 / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.003939, allocations: 384 / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.003973, allocations: 15.92 kB / 0.7905 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.004113, allocations: 109.2 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.00421, allocations: 59.09 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.004236, allocations: 19.69 kB / 0.7907 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/0.004568, allocations: 83.45 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.004606, allocations: 45.31 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.004607, allocations: 0.9062 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0007911/0.005398, allocations: 430 kB / 0.7912 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.00543, allocations: 59.33 kB / 0.7913 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.005496, allocations: 163.2 kB / 0.7914 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005508, allocations: 29.7 kB / 0.7914 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.005547, allocations: 130.9 kB / 0.7916 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.005584, allocations: 39.62 kB / 0.7916 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.005621, allocations: 31.92 kB / 0.7916 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.005747, allocations: 0.4889 MB / 0.7921 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.005766, allocations: 15.98 kB / 0.7921 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.005782, allocations: 9.406 kB / 0.7921 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.005831, allocations: 47.55 kB / 0.7922 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.005832, allocations: 4 kB / 0.7922 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001051/0.005937, allocations: 81.64 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.005954, allocations: 10.25 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005958, allocations: 1.562 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.00597, allocations: 0 / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.00605, allocations: 19.98 kB / 0.7923 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.006057, allocations: 7.938 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.00607, allocations: 5.031 kB / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006077, allocations: 3.938 kB / 0.7923 GB, free: 7.887 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 9.66e-05/0.006174, allocations: 161.1 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.006203, allocations: 8.484 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.006333, allocations: 89.78 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006336, allocations: 1 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006339, allocations: 3.938 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.006343, allocations: 0 / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.00661, allocations: 326.6 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006612, allocations: 0.5312 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.006677, allocations: 16 kB / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.00668, allocations: 5.375 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006687, allocations: 4 kB / 0.7929 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.006691, allocations: 7.922 kB / 0.7929 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006692, allocations: 0.8125 kB / 0.7929 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.006878, allocations: 249.8 kB / 0.7932 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.006901, allocations: 16.88 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.006912, allocations: 0 / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.006955, allocations: 15.94 kB / 0.7932 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.006975, allocations: 5.328 kB / 0.7932 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.006981, allocations: 4 kB / 0.7932 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.007021, allocations: 127.2 kB / 0.7933 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007021, allocations: 0.9688 kB / 0.7933 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002035/0.007224, allocations: 43.92 kB / 0.7934 GB, free: 6.766 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.0001803/0.007404, allocations: 149.4 kB / 0.7935 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.007507, allocations: 51.64 kB / 0.7935 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007508, allocations: 3.938 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.007534, allocations: 31.61 kB / 0.7936 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.007691, allocations: 8 kB / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.007978, allocations: 181.3 kB / 0.7938 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.008012, allocations: 55.36 kB / 0.7938 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.008048, allocations: 12.3 kB / 0.7938 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.008103, allocations: 78.2 kB / 0.7939 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.008103, allocations: 0 / 0.7939 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of Templates: time 0.003141/0.01124, allocations: 1.629 MB / 0.7955 GB, free: 4.551 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.877262725960463]