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.001582/0.001582, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001688/0.001688, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.86/2.86, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002039/0.002039, allocations: 67.88 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.857, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001633/0.8586, allocations: 0.6238 MB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.8593, allocations: 316.4 kB / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.8593, allocations: 0 / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.8593, allocations: 0 / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.8593, allocations: 9.25 kB / 1.188 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.8598, allocations: 120.4 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.8598, allocations: 31.72 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.8599, allocations: 2.844 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.8599, allocations: 11.25 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.86, allocations: 18.06 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.86, allocations: 1.25 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.8604, allocations: 257.6 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.8604, allocations: 6.531 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.8604, allocations: 13.39 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.8606, allocations: 100.5 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8606, allocations: 0 / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8606, allocations: 1.281 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.8606, allocations: 4 kB / 1.188 GB, free: 15.48 MB / 1.076 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.0003459/0.861, allocations: 285.3 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.861, allocations: 8.812 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.8611, allocations: 8.984 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.905e-05/0.8611, allocations: 104.5 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.8611, allocations: 3.094 kB / 1.189 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.8612, allocations: 6.656 kB / 1.189 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.8613, allocations: 103.4 kB / 1.189 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8613, allocations: 192 / 1.189 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.8613, allocations: 6.125 kB / 1.189 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.8613, allocations: 4 kB / 1.189 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.8614, allocations: 18.44 kB / 1.189 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.8615, allocations: 122.8 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.8616, allocations: 58.88 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.8616, allocations: 27.95 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.8622, allocations: 77.44 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.8622, allocations: 39.5 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8622, allocations: 0 / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001111/0.8633, allocations: 449.3 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.8633, allocations: 52.53 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.8634, allocations: 104.6 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.8634, allocations: 26.22 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.8634, allocations: 81.55 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.8634, allocations: 51.12 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.8635, allocations: 24.75 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.8635, allocations: 320 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.8636, allocations: 17.94 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.8636, allocations: 23.72 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.8637, allocations: 55.14 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8637, allocations: 1.125 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000142/0.8638, allocations: 100.4 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8639, allocations: 12.91 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8639, allocations: 0.6562 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8639, allocations: 1.094 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.864, allocations: 20.98 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.864, allocations: 0 / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.864, allocations: 6.359 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.864, allocations: 6.25 kB / 1.19 GB, free: 13.6 MB / 1.076 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.007e-05/0.8641, allocations: 117.3 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.8641, allocations: 7.469 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.8643, allocations: 114 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8643, allocations: 3 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8643, allocations: 0 / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8643, allocations: 2.188 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.8646, allocations: 299.8 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8646, allocations: 1.312 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.8647, allocations: 19.86 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8647, allocations: 1.094 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.8647, allocations: 1.891 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8647, allocations: 0 / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8647, allocations: 1.641 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.865, allocations: 224.1 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.865, allocations: 14.73 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.865, allocations: 1.953 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.8651, allocations: 3.25 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.8651, allocations: 10.06 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.8651, allocations: 4.156 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.206e-05/0.8651, allocations: 83.09 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8651, allocations: 0 / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003061/0.8654, allocations: 42.16 kB / 1.191 GB, free: 12.86 MB / 1.076 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.0002019/0.8656, allocations: 144.1 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.8658, allocations: 62.19 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8658, allocations: 1.281 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.8658, allocations: 30.3 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.8661, allocations: 13.22 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.8664, allocations: 176.6 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.497e-05/0.8664, allocations: 69.56 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.8665, allocations: 19.09 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.8665, allocations: 13.56 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.8665, allocations: 1.125 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of Templates: time 0.004524/0.871, allocations: 1.386 MB / 1.193 GB, free: 12.37 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.60972612700425]