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.001696/0.001696, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002098/0.002098, allocations: 211.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.533/3.533, allocations: 0.49 GB / 0.7959 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.61 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3989, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001903/0.4008, allocations: 0.628 MB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.4015, allocations: 315.3 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.4016, allocations: 0 / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.4016, allocations: 3.938 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.4016, allocations: 0 / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.4021, allocations: 118.8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.4022, allocations: 23.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.4023, allocations: 11.98 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.4023, allocations: 7.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.4024, allocations: 15.92 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4024, allocations: 0 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.4028, allocations: 283.6 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.4028, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.4029, allocations: 11.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.4031, allocations: 103.7 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4031, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4031, allocations: 4 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4031, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 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.0004586/0.4036, allocations: 290 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4036, allocations: 8.031 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.4036, allocations: 4.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4038, allocations: 118.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4038, allocations: 384 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4038, allocations: 4.375 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.404, allocations: 109.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.404, allocations: 192 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.404, allocations: 3.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.404, allocations: 4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.313e-05/0.4041, allocations: 19.98 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.4042, allocations: 113.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.4044, allocations: 54.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.4044, allocations: 28.84 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.405, allocations: 83.86 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.405, allocations: 30.56 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.405, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001357/0.4064, allocations: 459.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.4065, allocations: 55.41 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.4065, allocations: 109.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4066, allocations: 29.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.4066, allocations: 80.14 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.4067, allocations: 35.69 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.4067, allocations: 29.72 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4068, allocations: 318.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.4069, allocations: 16 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.4069, allocations: 19.98 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.407, allocations: 60.78 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.407, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001706/0.4072, allocations: 101 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4072, allocations: 11.94 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4072, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4072, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4074, allocations: 23.98 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4074, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.4074, allocations: 3.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4074, allocations: 8 kB / 1.331 GB, free: 13.04 MB / 1.029 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 0.0001058/0.4075, allocations: 114.4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.4075, allocations: 11.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.4077, allocations: 109.6 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4077, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4078, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4078, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.4082, allocations: 294.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4082, allocations: 3.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4083, allocations: 20 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4083, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4083, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4083, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4083, allocations: 4.031 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.4086, allocations: 231.3 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.4086, allocations: 8.016 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4086, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.4087, allocations: 4 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.4087, allocations: 7.984 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4088, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.4088, allocations: 83.28 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4088, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002993/0.4091, allocations: 47.86 kB / 1.332 GB, free: 12.04 MB / 1.029 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.0002992/0.4094, allocations: 143.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4096, allocations: 59.91 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4096, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4097, allocations: 31.94 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4099, allocations: 12.62 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.4104, allocations: 186 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.149e-05/0.4104, allocations: 68.05 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.321e-05/0.4105, allocations: 11.98 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.4105, allocations: 15.44 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4105, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of Templates: time 0.004811/0.4153, allocations: 1.427 MB / 1.334 GB, free: 10.05 MB / 1.029 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.471726032992592]