Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007718/0.0007718, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001837, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001157/0.001157, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002709, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9327/0.9327, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09694/1.03, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.426/2.426, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2364/2.662, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.033e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001328/0.001349, allocations: 0.684 MB / 0.8197 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.00175, allocations: 318.8 kB / 0.82 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.001768, allocations: 0 / 0.82 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-06/0.001773, allocations: 3.938 kB / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-06/0.001782, allocations: 7.938 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.002022, allocations: 99.59 kB / 0.8201 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.002086, allocations: 20 kB / 0.8201 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.002125, allocations: 11.86 kB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.002188, allocations: 15.97 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.002244, allocations: 11.98 kB / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.002258, allocations: 4 kB / 0.8201 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.002566, allocations: 275.6 kB / 0.8204 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.002583, allocations: 11.94 kB / 0.8204 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.002597, allocations: 4 kB / 0.8204 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.002759, allocations: 107.7 kB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.002771, allocations: 0 / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002772, allocations: 4 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.002785, allocations: 0 / 0.8205 GB, free: 0.8633 MB / 0.7917 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.0003651/0.00315, allocations: 272.4 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.00318, allocations: 8.031 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.003268, allocations: 86.03 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.003354, allocations: 117.7 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003363, allocations: 384 / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.003387, allocations: 12.36 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.003476, allocations: 93.64 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.003484, allocations: 192 / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003493, allocations: 8.375 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.003498, allocations: 384 / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.003524, allocations: 15.92 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.975e-05/0.003613, allocations: 64.98 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.003687, allocations: 50.56 kB / 0.8212 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.003705, allocations: 24.84 kB / 0.8212 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.003984, allocations: 79.92 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.004006, allocations: 30.56 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.004007, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0008222/0.004829, allocations: 455.7 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.004851, allocations: 51.41 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.004903, allocations: 110.6 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.004914, allocations: 33.7 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.004934, allocations: 84.14 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.004966, allocations: 39.62 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.004998, allocations: 25.7 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.005064, allocations: 314.8 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.005079, allocations: 15.98 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.005094, allocations: 8 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.005136, allocations: 43 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005139, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.936e-05/0.005218, allocations: 69.61 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.00523, allocations: 12 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005235, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005248, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.005318, allocations: 27.98 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005321, allocations: 3.938 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.005332, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005337, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 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 5e-05/0.005387, allocations: 109.8 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.005408, allocations: 15.94 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.005501, allocations: 73.78 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005503, allocations: 4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.005505, allocations: 4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.005509, allocations: 3.938 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.005706, allocations: 230.7 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005708, allocations: 0 / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.005772, allocations: 19.98 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.005785, allocations: 7.984 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005788, allocations: 4 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.005795, allocations: 7.938 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005797, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005798, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.005933, allocations: 191.7 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.005944, allocations: 8 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.005982, allocations: 4 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.005998, allocations: 11.92 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.006002, allocations: 3.938 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.298e-06/0.006012, allocations: 8.859 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006012, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001557/0.006167, allocations: 43.92 kB / 0.8233 GB, free: 13.71 MB / 0.8073 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.0001755/0.006343, allocations: 132.6 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.655e-05/0.00642, allocations: 48.81 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.006427, allocations: 4 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.006458, allocations: 36.78 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.006571, allocations: 19.97 kB / 0.8235 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.006825, allocations: 152.8 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.006871, allocations: 59.34 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.006912, allocations: 15.98 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.006962, allocations: 67.36 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.006962, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.002809/0.009772, allocations: 1.366 MB / 0.8252 GB, free: 11.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251732104457915]