Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001529/0.001529, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00181/0.00181, allocations: 165 kB / 24.17 MB, free: 336 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 1.027/1.027, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.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.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.327e-05, allocations: 3.984 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001489/0.001512, allocations: 0.6967 MB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.002055, allocations: 327.9 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.002079, allocations: 0 / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.002095, allocations: 5.469 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.147e-05/0.002126, allocations: 5.25 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.002446, allocations: 89.45 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.002505, allocations: 25.72 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.002538, allocations: 0.5312 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.002598, allocations: 18.62 kB / 0.7613 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.002648, allocations: 16.62 kB / 0.7613 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002662, allocations: 0 / 0.7613 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.002971, allocations: 281.8 kB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.002985, allocations: 11.92 kB / 0.7616 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.003, allocations: 6.859 kB / 0.7616 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003163, allocations: 128.9 kB / 0.7617 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003165, allocations: 0 / 0.7617 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003166, allocations: 0.875 kB / 0.7617 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003169, allocations: 0.6562 kB / 0.7617 GB, free: 5.008 MB / 0.7136 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.0003016/0.003471, allocations: 269.5 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.003502, allocations: 12.03 kB / 0.762 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.003566, allocations: 13.64 kB / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.003638, allocations: 102.5 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00365, allocations: 6.375 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.003667, allocations: 8.312 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.491e-05/0.003762, allocations: 97.64 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003771, allocations: 192 / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.003777, allocations: 384 / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.003783, allocations: 2.703 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.003809, allocations: 15.92 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.287e-05/0.003902, allocations: 68.98 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.003976, allocations: 51.12 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.003996, allocations: 18.27 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.004267, allocations: 83.31 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.00429, allocations: 35.33 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.004292, allocations: 0 / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008455/0.005137, allocations: 445.2 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.005161, allocations: 51.41 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.005213, allocations: 108.1 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005225, allocations: 33.7 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.005248, allocations: 88.12 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.005282, allocations: 39.62 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.005315, allocations: 31.09 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.005383, allocations: 314.8 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.005399, allocations: 11.98 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.005413, allocations: 8 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.005459, allocations: 42.09 kB / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00546, allocations: 0 / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.892e-05/0.005549, allocations: 69.67 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005561, allocations: 8.656 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005565, allocations: 0 / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005577, allocations: 4.562 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.005646, allocations: 20 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005651, allocations: 12.56 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.005663, allocations: 1.188 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.005669, allocations: 4 kB / 0.7637 GB, free: 2.781 MB / 0.7136 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 5.305e-05/0.005722, allocations: 109.8 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.005746, allocations: 10.44 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.005855, allocations: 93.66 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005858, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005859, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.005864, allocations: 3.938 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.006062, allocations: 222.8 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006064, allocations: 3.062 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.006135, allocations: 27.92 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006137, allocations: 0 / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.006143, allocations: 4 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006146, allocations: 0 / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.006148, allocations: 3.938 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.006288, allocations: 175.5 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.006309, allocations: 11.94 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.006319, allocations: 4.656 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.006359, allocations: 8 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.006377, allocations: 16.42 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.006383, allocations: 0 / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.03e-05/0.006393, allocations: 10.14 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006393, allocations: 0 / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001679/0.006561, allocations: 43.92 kB / 0.7644 GB, free: 1.992 MB / 0.7136 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.0001695/0.00673, allocations: 134.1 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.006811, allocations: 49.27 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.006813, allocations: 0 / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.006838, allocations: 35.22 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.006948, allocations: 4.859 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.007197, allocations: 164.9 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.007235, allocations: 67.28 kB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.007272, allocations: 6.094 kB / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.007323, allocations: 63.36 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.007324, allocations: 0 / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of Templates: time 0.003496/0.01082, allocations: 1.617 MB / 0.7665 GB, free: 15.89 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.145801518112421]